This command queries providers and the user database for a group. A provider query can be aggregated across providers to yield a merged result or it can be provider-specific.
You can also use this command to attach S3 identity policies to groups and to remove S3 identity policies from groups.
Usage for Retrieving a Group
group query {--gid GID | --groupname GROUPNAME | --sid SID | --vaid VID} [--context local|udb|ad|ldap|nis|aggregated] [--tenant-id ID]
Usage for Setting S3 Permissions
group query {--gid GID | --groupname GROUPNAME | --sid SID | --vaid VID} [--identity-policies-ids [IDs]] [--tenant-id ID]
Required Parameters
|
Identifies a group by POSIX (NFS) group ID. |
|
identifies a group by group name. |
|
Identifies a group by Security Identifier (SID). |
|
Identifies a group by VAST ID. |
Options
Example
vcli: admin> group query --gid 1000 +-----------------+----------------------------------------------+ | gid | 1000 | | sid | S-1-5-21-927172180-3694312366-24219317-41086 | | name | group_gid_1000 | | provider_type | NONE | | s3_policies | [] | | s3_policies_ids | [] | +-----------------+----------------------------------------------+
Comments
0 comments
Article is closed for comments.