Cloudbreak CLI Reference
Also available as:
PDF

cluster change-ambari-password

Changes Ambari password.

Required options

--name <value> Cluster name

--old-password <value> Old Ambari password

--new-password <value> New Ambari password

--ambari-user <value> Ambari user

Options

--output <value> Supported formats: json, yaml, table (default: “json”) [$CB_OUT_FORMAT]

--server <value> Cloudbreak server address [$CB_SERVER_ADDRESS]

--username <value> Cloudbreak user name (e-mail address) [$CB_USER_NAME]

--password <value> Cloudbreak password [$CB_PASSWORD]

--workspace <value> Name of the workspace holding the resource

--profile <value> Selects a config profile to use [$CB_PROFILE]

--auth-type <value> Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]

Examples

Changes password for Ambari user called “admin” for a cluster called “test1234”:

cb cluster change-ambari-password --name test1234 --old-password 123456 --new-password Ambari123456 --ambari-user admin