add-user

subtitle

Add User

version

0.9.112

Description

Adds a user or a role to a compute cluster.

Synopsis

  add-user
--cluster-crn <value>
--id <value>
[--groups <value>]
[--is-admin | --no-is-admin]
[--is-role | --no-is-role]
[--username <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-crn (string)

Compute cluster CRN.

--id (string)

User ID. Specify user or role ARN.

--groups (array)

K8s RBAC cluster role bindings.

Syntax:

"string" "string" ...

--is-admin | --no-is-admin (boolean)

True if added user is an admin.

--is-role | --no-is-role (boolean)

True if user ID is a role.

--username (string)

Username.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

id -> (string)

User ID.

status -> (string)

User Status.

Form Factors

public