barbican/releasenotes/notes/oslopolicy-genscripts-1a7b364b8ffd7c3f.yaml
Jeremy Liu 5e3662000e Maintain policy in code
This patch adds the basic framework for registering and using
default policy rules. Rules should be defined and returned from
a module in barbican/common/policies/, and then added to the
list in barbican/common/policies/__init__.py.

Also adds tox env to generate policy sample file.

Change-Id: If25b17ae7eed3f1a8e8e6f29701552a39d5a603f
2017-05-17 10:02:03 +00:00

9 lines
325 B
YAML

---
features:
- Maintain the policy rules in code and add an oslo.policy CLI script
in tox to generate policy sample file.
The script can be called like
"oslopolicy-sample-generator --config-file=etc/oslo-config-generator/policy.conf"
and will generate a policy.yaml.sample file with the effective policy.