policy

A policy is an arbitrarily serialized policy engine rule set to be consumed by a remote service. Applies to Identity v3.

policy create

Create new policy

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

This command is provided by the python-openstackclient plugin.

policy delete

Delete policy(s)

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

Policy(s) to delete

This command is provided by the python-openstackclient plugin.

policy list

List policies

openstack policy list [--sort-column SORT_COLUMN] [--long]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--long

List additional fields in output

This command is provided by the python-openstackclient plugin.

policy set

Set policy properties

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

This command is provided by the python-openstackclient plugin.

policy show

Display policy details

openstack policy show <policy>
policy

Policy to display

This command is provided by the python-openstackclient plugin.