Skip to main content
Command reference

vserver object-store-server user delete-keys

Suggest changes

Delete keys for an object store user

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver object-store-server user delete-keys command deletes the access-key and secret-key for an object store user. To regenerate the keys for the user again, use the vserver object-store-server user regenerate-keys command.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the name of the SVM on which the keys should be deleted for the object store user. The object store user must already exist.

-user <TextNoCase> - Object Store Server User Name

This parameter specifies the name of the object store user.

[-key-id <integer>] - Object Store Server User Key ID

This parameter specifies the identifier of a user key that needs to be deleted. The valid values are 1 and 2. The default value is 1.

Examples

The following example deletes the key with key-id 1 for object store user for the SVM vs1.

cluster1::> vserver object-store-server user delete-keys -vserver vs1 -user user1

The following example deletes the key with key-id as 2 for object store user for the SVM vs1.

cluster1::> vserver object-store-server user delete-keys -vserver vs1 -user user1 -key-id 2