role (Identity v2)¶
role add¶
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.
role assignment list¶
List role assignments
openstack role assignment list
    [--sort-column SORT_COLUMN]
    [--user <user>]
    [--project <project>]
    [--names]
    [--auth-user]
    [--auth-project]
- 
--sort-columnSORT_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.
role create¶
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.
role delete¶
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.
role list¶
List roles
openstack role list [--sort-column SORT_COLUMN]
- 
--sort-columnSORT_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.