
auth0ctl
Command line client for Auth0.
Installation
This project uses Go modules. Be sure to have it outside your $GOPATH or
set GO111MODULE=on environment variable. Then regular go install should do
the trick. Alternatively the following one-liner may help.
GO111MODULE=on go install -ldflags "-X 'github.com/giantswarm/auth0ctl/pkg/project.gitSHA=$(git rev-parse HEAD)'" .
Configuration
auth0ctl requires credentials with access to Management API.
Use environment variables to configure cli:
AUTH0_CLIENT_ID: client ID of the Auth0 application.
AUTH0_CLIENT_SECRET: client secret of the Auth0 application.
Required application scopes:
- read:clients
- read:client_keys
- update:client_keys
- create:clients
- delete:clients
- update:clients
- read:resource_servers
- create:resource_servers
- delete:resource_servers
Usage
Please check auth0ctl -h for for details on all functions.