configure
Configures the Cloudbreak server address and credentials used to communicate with this server.
Required options
--server <value>
Server address [$CB_SERVER_ADDRESS]
--username <value>
User name (e-mail address) [$CB_USER_NAME]
Options
--password <value>
Password [$CB_PASSWORD]
--workspace <value>
Name of an existing workspace
--profile <value>
Select a config profile to use [$CB_PROFILE]
--output <value>
Supported formats: json, yaml, table (default: “json”) [$CB_OUT_FORMAT]
--auth-type <value>
Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]
Examples
This example configures the server address with username and password:
cb configure --server https://ec2-11-111-111-11.compute-1.amazonaws.com --username admin@hortonworks.com --password MySecurePassword123
This example configures the server address with username but without a password:
cb configure --server https://ec2-11-111-111-11.compute-1.amazonaws.com --username admin@hortonworks.com