This command generates an S3 access key pair for a user. The access key pair comprises an access key and a secret key. The access key and secret key are displayed in the command output. The secret key cannot be displayed again. Copy the secret key and keep it safe for usage.
When enabling, disabling or removing an access key pair, you specify only the access key.
The command can be used for a local provider user by specifying the user's ID and for an external provider user by specifying a UID or SID.
Usage
user generate-key {--id ID | --uid UID | --sid SID}
Required Parameters
|
Specify a local provider user by its ID. |
|
Specifies a user by its POSIX UID number. |
|
Specifies a user by its SMB user SID. |
Example
This example generates an access pair for the local provider user with ID 200.
vcli: admin> user generate-key --id 200 {'access_key': '2h/MzqtiTQSVl8J/4wsDbg==', 'secret_key': 'dzd0eX/+d+IqGRHy5EJgoVde656+A1NpHGHHHcL+5mE='}
Comments
0 comments
Article is closed for comments.