vserver object-store-server user show
Display object store server users
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver object-store-server user show
command displays information about the object store user. The user secret-key will not be shown as part of the response. It is shown only when user is created or user keys are regenerated.
Parameters
- {
[-fields <fieldname>,…]
-
If you specify the
-fields <fieldname>, …
parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]
} -
If you specify the
-instance
parameter, the command displays detailed information about all fields. [-vserver <Vserver Name>]
- Vserver Name-
If you specify this parameter, the command displays information only about the object store users for the specified SVM.
[-user <TextNoCase>]
- Object Store Server User Name-
If you specify this parameter, the command displays information only for object store users that match the specified object store user name.
[-id <integer>]
- Object Store Server User ID-
If you specify this parameter, the command displays information only for object store users that match the specified user id.
[-comment <text>]
- Object Store Server User Description-
If you specify this parameter, the command displays information only for object store users that match the specified comment field.
[-access-key <text>]
- Access Key for the Object Store Server User-
If you specify this parameter, the command displays information only for object store users that match the specified access key.
[-key-time-to-live {P[<integer>D]T[<integer>H][<integer>M][<integer>S] | P<integer>W}]
- Time Period After Which User Keys Expire-
If you specify this parameter, the command displays information only for object store users that match the specified key time to live value.
[-key-expiry-time {MM/DD/YYYY HH:MM:SS [{+|-}hh:mm]}]
- Date And Time When User Keys Expire-
If you specify this parameter, the command displays information only for object store users that match the specified key expiry date value.
Examples
The following example displays information of all object store users in admin privilege:
cluster1::> vserver object-store-server user show Vserver User ID Key Time To Live Key Expiry Time ----------- ------------------- -------- ---------------- ----------------- vs1 user1 1 1h 2/6/2023 13:28:50 Comment: testuser vs1 user2 2 - - vs1 user@domain1.com 3 - - 2 entries were displayed.
The following example displays information of a particular object store user associated with the SVM vs1 in admin privilege:
cluster1::> vserver object-store-server user show -vserver vs1 -user user1 Vserver Name: vs1 Object Store Server User Name: user1 Object Store Server User ID: 1 Object Store Server User Description: testuser Access Key for the Object Store Server User: 5HBRV20PWWX7IIHKYRRN Time Period After Which User Keys Expire: 1h Date And Time When User Keys Expire: 2/6/2023 13:28:50
The following example displays information of all object store users in advanced privilege:
cluster1::*> vserver object-store-server user show Vserver User ID Key Time To Live Key Expiry Time ----------- --------------- -------- ---------------- ----------------- vs1 root 0 - - Access Key: - Comment: Root User vs1 user2 2 99999h0m0s 7/6/2034 23:40:54 Access Key: 2K4PL22JQV5L2WA564TB Comment: 2 entries were displayed.
The following example displays information of a particular object store user associated with the SVM vs1 in advanced privilege. Note that user secret key is not shown as part of this command:
cluster1::*> vserver object-store-server user show -vserver vs1 -user user1 Vserver Name: vs1 Object Store Server User Name: user1 Object Store Server User ID: 1 Object Store Server User Description: testuser Access Key for the Object Store Server User: 5HBRV20PWWX7IIHKYRRN Time Period After Which User Keys Expire: 1h Date And Time When User Keys Expire: 2/6/2023 13:28:50