user modify-key

Prev Next

This command enables or disables an S3 access key pair. An access key pair consists of a secret key and an access key. The access key pair is enabled/disabled by specifying the access key in the pair.

Usage
user modify-key {--id ID | --uid UID | --sid SID}
                --access-key ACCESS-KEY
                [--enable|--disable]
                [--tenant-id ID]
Required Parameters

--id ID

Identifies a local provider user by VAST ID.

--uid UID

Identifies a user by POSIX (NFS) UID number.

--sid SID

Identifies a user by Security Identifier (SID).

--access-key ACCESS-KEY

Specifies an S3 access key to disable or enable the key pair.

Options

--enable

Enables the S3 access key pair.

--disable

Disables the S3 access key pair.

--tenant-id ID

Specify the ID of the tenant with which the user is associated.

Example

This example shows disabling an access key pair.

vcli: admin> user modify-key --id 4 --access-key NHZ9GBLYS21TST3BGQXO --disable
Are you sure you want to disable this access key [NHZ9GBLYS21TST3BGQXO]? [y/N] y