vserver object-store-server user create
Create an object store server user
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver object-store-server user create
command creates an object store user. This will generate an access-key and a secret-key to be used for aws v4 authentication. The user keys generated will be shown as part of the response of this command. 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 to create the object store user. The Vserver must already exist.
-user <TextNoCase>
- Object Store Server User Name-
This parameter specifies the name of the object store user. If user is a part of Active Directory, user must be specified in User Principal Name (UPN) format.
[-comment <text>]
- Object Store Server User Description-
This optional parameter specifies a text comment for 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 or no value is specified, then the user keys will not expire.
Examples
The following example creates an object store user user1 for Vserver vs1.
cluster1::> vserver object-store-server user create -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.
The following example creates an object store user user1, for Vserver vs1, where user1 is a member of active directory.
cluster1::> vserver object-store-server user create -vserver vs1 -user user1@domain1.com -access-key DUMMY_ACCESS_KEY_123 -secret-key dummy_secret_key_1234_abcd__lkfj Vserver: vs1 User: user1@domain1.com 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.