Gets information on an access key.
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.
get-access-key [--access-key-id <value>] [--cli-input-json <value>] [--generate-cli-skeleton]
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.
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.
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
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 type of an access key.
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.