Identity v3
Add user to group
openstack group add user
[--group-domain <group-domain>]
[--user-domain <user-domain>]
<group>
<user>
[<user> ...]
--group-domain
<group-domain>
¶Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--user-domain
<user-domain>
¶Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
group
¶Group to contain <user> (name or ID)
user
¶User(s) to add to <group> (name or ID) (repeat option to add multiple users)
This command is provided by the python-openstackclient plugin.
Check user membership in group
openstack group contains user
[--group-domain <group-domain>]
[--user-domain <user-domain>]
<group>
<user>
--group-domain
<group-domain>
¶Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--user-domain
<user-domain>
¶Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
group
¶Group to check (name or ID)
user
¶User to check (name or ID)
This command is provided by the python-openstackclient plugin.
Create new group
openstack group create
[--domain <domain>]
[--description <description>]
[--or-show]
<group-name>
--domain
<domain>
¶Domain to contain new group (name or ID)
--description
<description>
¶New group description
--or-show
¶Return existing group
group-name
¶New group name
This command is provided by the python-openstackclient plugin.
Delete group(s)
openstack group delete [--domain <domain>] <group> [<group> ...]
--domain
<domain>
¶Domain containing group(s) (name or ID)
group
¶Group(s) to delete (name or ID)
This command is provided by the python-openstackclient plugin.
List groups
openstack group list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--domain <domain>]
[--user <user>]
[--user-domain <user-domain>]
[--long]
--format-config-file
<FORMAT_CONFIG>
¶Config file for the dict-to-csv formatter
--sort-column
SORT_COLUMN
¶specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
--domain
<domain>
¶Filter group list by <domain> (name or ID)
--user
<user>
¶Filter group list by <user> (name or ID)
--user-domain
<user-domain>
¶Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--long
¶List additional fields in output
This command is provided by the python-openstackclient plugin.
Remove user from group
openstack group remove user
[--group-domain <group-domain>]
[--user-domain <user-domain>]
<group>
<user>
[<user> ...]
--group-domain
<group-domain>
¶Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--user-domain
<user-domain>
¶Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
group
¶Group containing <user> (name or ID)
user
¶User(s) to remove from <group> (name or ID) (repeat option to remove multiple users)
This command is provided by the python-openstackclient plugin.
Set group properties
openstack group set
[--domain <domain>]
[--name <name>]
[--description <description>]
<group>
--domain
<domain>
¶Domain containing <group> (name or ID)
--name
<name>
¶New group name
--description
<description>
¶New group description
group
¶Group to modify (name or ID)
This command is provided by the python-openstackclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.