configure command is used to setup the local machine to be able to manage
data warehouse environments and clusters.
The configuration can use a master token, or an environment token for managing them. The difference is in the allowed scope.
A master token, as the name implies allows management of all the environments and clusters. The environment token reduces the scope to a single environment that the token was generated for.
The Client ID and Master Token is available using the web console.
Example: Configure using a master token
M to use the Master Token. You will be prompted to enter the Master
Token and Client ID:
$ edw configure Token type [M = Master][E = Environment]: M Token: 1234abcd... Client ID: 1234-...-abcd
Example: Configure using an environment token
Only the Environment/Clusters corresponding to the Environment Token entered can be managed when using the Environment Token. Users with access to this token allows them to manage specific environments, e.g. a user is authorized to manage dev environment, but not the production environment.
E to use the Environment Token. You will be prompted to enter the
environment token to use.
$ edw configure Token type [M = Master][E = Environment]: E Token: 45678....