python-openstackclient/doc/source/command-objects/policy.rst
Steve Martinelli 673e0d88ff Command doc: policy
Also tweaked a bunch of the code to not show 'blob', but 'rules'
instead.

Change-Id: I6db798d272ff416a77f169c0e912d2096fa02504
2015-01-12 21:59:44 -05:00

1.2 KiB

policy

Identity v3

policy create

Create new policy

policy create

os 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

policy delete

os policy delete
    <policy>

<policy>

Policy to delete

policy list

List policies

policy list

os policy list
    [--long]

--long

List additional fields in output

policy set

Set policy properties

policy set

os 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

os policy show
    <policy>

<policy>

Policy to display