python-openstackclient/doc/source/command-objects/role.rst
Steve Martinelli 27b73ac55d Fix doc building errors
Addresses some of the issues that appeared when running tox -edocs

Change-Id: I31133744ee0ddefa72c6590cb381de317e65633e
2015-01-19 13:12:18 -05:00

2.5 KiB

role

Identity v2, v3

role add

Add role to a user or group in a project or domain

role add

os role add
    --domain <domain> | --project <project>
    --user <user> | --group <group>
    <role>

--domain <domain>

Include <domain> (name or ID)

3

--project <project>

Include <project> (name or ID)

--user <user>

Include <user> (name or ID)

--group <group>

Include <group> (name or ID)

3

<role>

Role to add to `<project>:<user>` (name or ID)

role create

Create new role

role create

os role create
    <name>

<name>

New role name

role delete

Delete role(s)

role delete

os role delete
    <role> [<role> ...]

<role>

Role to delete (name or ID)

role list

List roles

role list

os role list
    [--domain <domain> | --project <project]
    [--user <user> | --group <group>]

--domain <domain>

Filter roles by <domain> (name or ID)

3

--project <project>

Filter roles by <project> (name or ID)

3

--user <user>

Filter roles by <user> (name or ID)

3

--group <group>

Filter roles by <group> (name or ID)

3

role remove

Remove role from domain/project : user/group

role remove

os role remove
    [--domain <domain> | --project <project]
    [--user <user> | --group <group>]
    <role>

--domain <domain>

Include <domain> (name or ID)

3

--project <project>

Include <project> (name or ID)

--user <user>

Include <user> (name or ID)

--group <group>

Include <group> (name or ID)

3

<role>

Role to remove (name or ID)

role set

Set role properties

3

role set

os role set
    [--name <name>]
    <role>

--name <name>

Set role name

<role>

Role to modify (name or ID)

role show

Display role details

role show

os role show
    <role>

<role>

Role to display (name or ID)