get-access-key

subtitle

Gets information on an access key.

version

0.9.126

Description

Gets information on an access key. If no access key ID is specified. Information on the access key used to make the request is returned.

Synopsis

  get-access-key
[--access-key-id <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--access-key-id (string)

The ID of the access key to get information about. If it is not included, it defaults to the access key used to make the request.

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

Form Factors

public, private