Add role to project:user
openstack role add --project <project> --user <user> <role>
Include <project> (name or ID)
Include <user> (name or ID)
Role to add to <project>:<user> (name or ID)
List role assignments
openstack role assignment list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--user <user>]
[--project <project>]
[--names]
[--auth-user]
[--auth-project]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
User to filter (name or ID)
Project to filter (name or ID)
Display names instead of IDs
Only list assignments for the authenticated user
Only list assignments for the project to which the authenticated user’s token is scoped
Create new role
openstack role create [--or-show] <name>
Return existing role
New role name
Delete role(s)
openstack role delete <role> [<role> ...]
Role(s) to delete (name or ID)
List roles
openstack role list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Remove role from project : user
openstack role remove --project <project> --user <user> <role>
Include <project> (name or ID)
Include <user> (name or ID)
Role to remove (name or ID)
Display role details
openstack role show <role>
Role to display (name or ID)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.