vserver object-store-server user regenerate-keys
Regenerate keys for 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 regenerate-keys
command regenerates a new access-key and secret-key for an object store user. The user keys generated will be shown as part of the command response. Note that the secret-key is not retreivable and should be noted down. It will not be shown as part of the vserver object-store-server user show command.
Parameters
-vserver <Vserver Name>
- Vserver Name-
This parameter specifies the name of the Vserver on which the keys should be generated 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-time-to-live {P[<integer>D]T[<integer>H][<integer>M][<integer>S] | P<integer>W}]
- Time Period after Which User Keys Expire-
This optional parameter specifies a time period after which the object store user keys expire and are no longer valid. If the value specified is zero, then the user keys will not expire.
Examples
The following example regenerates the keys for object store user for Vserver vs1.
cluster1::> vserver object-store-server user regenerate-keys -vserver vs1 -user user1 Vserver: vs1 User: user1 Access Key: DUMMY_ACCESS_KEY_123 Secret Key: dummy_secret_key_1234_abcd__lkfj Warning: The secret key won't be displayed again. Save this key for future use.