create-machine-user-access-key

subtitle

Creates a new access key for a machine user.

version

0.9.126

Description

Creates a new access key for a machine user.

Synopsis

  create-machine-user-access-key
--machine-user-name <value>
[--type <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--machine-user-name (string)

The name or CRN of the machine user to whom this access key will be associated.

--type (string)

The version of an access key. V1 - Deprecated, use RSA as the request signing algorithm. V2 - Use ED25519 as the request signing algorithm. V3 - Use ECDSA as the request signing algorithm. DEFAULT - Use the system default signing algorithm (V3 in GovCloud, V2 in other regions).

Possible values:

  • V1

  • V2

  • V3

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

accessKey -> (object)

Information about a Cloudera CDP access key.

accessKeyId -> (string)

The ID of the access key.

crn -> (string)

The CRN of the access key.

actorCrn -> (string)

The CRN of the actor with which this access key is associated.

creationDate -> (datetime)

The date when the access key was created.

status -> (string)

The status of an access key.

type -> (string)

The version of an access key. V1 - Deprecated, use RSA as the request signing algorithm. V2 - Use ED25519 as the request signing algorithm. V3 - Use ECDSA as the request signing algorithm. DEFAULT - Use the system default signing algorithm (V3 in GovCloud, V2 in other regions).

lastUsage -> (object)

Information on the last time an access key was used.

lastUsageDate -> (datetime)

The date when the access key was last used.

serviceName -> (string)

The name of the service with which this access key was most recently used.

privateKey -> (string)

The private key associated with this access key. This string is the contents of a PEM file containing a PKCS#8 private key.

Form Factors

public, private