describe-user

subtitle

Describe User

version

0.9.126

Description

Describes a user or a role of a compute cluster.

Synopsis

  describe-user
--cluster-crn <value>
--id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--cluster-crn (string)

Compute cluster CRN.

--id (string)

User ID.

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

user -> (object)

User details.

Form Factors: public

groups -> (array)

K8s RBAC cluster role bindings.

item -> (string)

id -> (string)

User ID.

isAdmin -> (boolean)

True if added user is an admin.

isRole -> (boolean)

True if user ID is a role.

username -> (string)

Username.

Form Factors

public