create-user-access-key¶
- subtitle
Creates a new access key for a user.
- version
0.9.125
Description¶
Creates a new access key for a user.
Synopsis¶
create-user-access-key
[--user <value>]
[--type <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--user
(string)
The ID or CRN of the user to whom this access key will be associated. If it is not included, it defaults to the user making the request.
--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