5e3662000e
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
9 lines
325 B
YAML
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.
|