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.
Usage
user generate-key {--id ID | --uid UID}
Required Parameters
|
Specify a local user by its ID or any user by its UID. This will generate an S3 access key pair for the user. |
Example
This example generates an access pair for the local 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.