barbican/doc/source/sample_policy.rst
Jeremy Liu ed0bb3f5fb Add sample config and policy to documentation
Change-Id: Ie21459821dbe654d5e097494efbfbd647c12044e
2018-02-09 08:16:03 +00:00

16 lines
768 B
ReStructuredText

======================
Barbican Sample Policy
======================
The following is a sample Barbican policy file that has been auto-generated
from default policy values in code. If you're using the default policies, then
the maintenance of this file is not necessary, and it should not be copied into
a deployment. Doing so will result in duplicate policy definitions. It is here
to help explain which policy operations protect specific Barbican APIs, but it
is not suggested to copy and paste into a deployment unless you're planning on
providing a different policy for an operation that is not the default.
The sample policy file can also be viewed in `file form <_static/barbican.policy.yaml.sample>`_.
.. literalinclude:: _static/barbican.policy.yaml.sample