python-openstackclient/doc/source/command-objects/policy.rst
Kevin_Zheng 847da51dea change os in command example to openstack(2)
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: I80c96f0938cec382f2f714a500138bd5a2c81aa0
2016-12-20 09:18:55 +08:00

1.3 KiB

policy

Identity v3

policy create

Create new policy

policy create

openstack policy create
    [--type <type>]
    <filename>

--type <type>

New MIME type of the policy rules file (defaults to application/json)

<filename>

New serialized policy rules file

policy delete

Delete policy(s)

policy delete

openstack policy delete
    <policy> [<policy> ...]

<policy>

Policy(s) to delete

policy list

List policies

policy list

openstack policy list
    [--long]

--long

List additional fields in output

policy set

Set policy properties

policy set

openstack policy set
    [--type <type>]
    [--rules <filename>]
    <policy>

--type <type>

New MIME type of the policy rules file

--rules <filename>

New serialized policy rules file

<policy>

Policy to modify

policy show

Display policy details

policy show

openstack policy show
    <policy>

<policy>

Policy to display