Add role to project:user
openstack role add --project <project> --user <user> <role>
--project
<project>
¶Include <project> (name or ID)
--user
<user>
¶Include <user> (name or ID)
role
¶Role to add to <project>:<user> (name or ID)
This command is provided by the python-openstackclient plugin.
List role assignments
openstack role assignment list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--user <user>]
[--project <project>]
[--names]
[--auth-user]
[--auth-project]
--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
--user
<user>
¶User to filter (name or ID)
--project
<project>
¶Project to filter (name or ID)
--names
¶Display names instead of IDs
--auth-user
¶Only list assignments for the authenticated user
--auth-project
¶Only list assignments for the project to which the authenticated user’s token is scoped
This command is provided by the python-openstackclient plugin.
Create new role
openstack role create [--or-show] <name>
--or-show
¶Return existing role
name
¶New role name
This command is provided by the python-openstackclient plugin.
Delete role(s)
openstack role delete <role> [<role> ...]
role
¶Role(s) to delete (name or ID)
This command is provided by the python-openstackclient plugin.
List roles
openstack role list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
--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
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.