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"