trove/doc/source/reference/policy-file.rst
Dmitriy Rabotyagov dfca9b1943 [doc] Add configuration reference
Config reference has been dropped for some reason several releases before.
We return configuration reference along with policy to the docs.

Change-Id: I0927466d18eca5572932fcf9e2ca6349b11ca847
2021-04-06 06:37:59 +00:00

21 lines
609 B
ReStructuredText

.. _trove-policy-file:
===========
policy.yaml
===========
.. warning::
JSON formatted policy file is deprecated since Trove 15.0.0 (Wallaby).
This `oslopolicy-convert-json-to-yaml`__ tool will migrate your existing
JSON-formatted policy file to YAML in a backward-compatible way.
.. __: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html
To see available policies, refer to :ref:`policy-configuration`.
Use the ``policy.yaml`` file to define additional access controls that will be
applied to Trove:
.. literalinclude:: ../_static/trove.policy.yaml.sample