847da51dea
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
96 lines
1.3 KiB
ReStructuredText
96 lines
1.3 KiB
ReStructuredText
======
|
|
policy
|
|
======
|
|
|
|
Identity v3
|
|
|
|
policy create
|
|
-------------
|
|
|
|
Create new policy
|
|
|
|
.. program:: policy create
|
|
.. code:: bash
|
|
|
|
openstack policy create
|
|
[--type <type>]
|
|
<filename>
|
|
|
|
.. option:: --type <type>
|
|
|
|
New MIME type of the policy rules file (defaults to application/json)
|
|
|
|
.. describe:: <filename>
|
|
|
|
New serialized policy rules file
|
|
|
|
policy delete
|
|
-------------
|
|
|
|
Delete policy(s)
|
|
|
|
.. program:: policy delete
|
|
.. code:: bash
|
|
|
|
openstack policy delete
|
|
<policy> [<policy> ...]
|
|
|
|
.. describe:: <policy>
|
|
|
|
Policy(s) to delete
|
|
|
|
policy list
|
|
-----------
|
|
|
|
List policies
|
|
|
|
.. program:: policy list
|
|
.. code:: bash
|
|
|
|
openstack policy list
|
|
[--long]
|
|
|
|
.. option:: --long
|
|
|
|
List additional fields in output
|
|
|
|
policy set
|
|
----------
|
|
|
|
Set policy properties
|
|
|
|
.. program:: policy set
|
|
.. code:: bash
|
|
|
|
openstack policy set
|
|
[--type <type>]
|
|
[--rules <filename>]
|
|
<policy>
|
|
|
|
.. option:: --type <type>
|
|
|
|
New MIME type of the policy rules file
|
|
|
|
.. describe:: --rules <filename>
|
|
|
|
New serialized policy rules file
|
|
|
|
.. describe:: <policy>
|
|
|
|
Policy to modify
|
|
|
|
policy show
|
|
-----------
|
|
|
|
Display policy details
|
|
|
|
.. program:: policy show
|
|
.. code:: bash
|
|
|
|
openstack policy show
|
|
<policy>
|
|
|
|
.. describe:: <policy>
|
|
|
|
Policy to display
|