Cloudbreak CLI Reference
Also available as:
PDF

workspace add user

Adds user to a workspace and assigns access permissions.

Sub-commands:

read Assigns read access permission to the user

read-write Assigns read and write access permission to the user

Required options

--name <value> Name of the workspace

--user-id <value> ID of the user

Options

--description <value> Description for the user

--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

Adds jdean@example.com to a workspace called “marketing” with read-write access permissions:

cb workspace add-user read-write --name "marketing" --user-id "jdean@example.com"