Cloudbreak CLI Reference
Also available as:
PDF

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