Jeremy Liu 73420137a6 Use default policy in code
Delete policy.json from repo since we can use policies registered
in code.

We can also change default policy rules through below steps:

  - generate policy.yaml and copy to /etc/barbican
  - configure `policy_file=policy.yaml` in `oslo_policy` section
  - uncomment rules in policy.yaml and make changes as we desire
  - restart barbican api service
  - test whether new rules take effect on corresponding API

Change-Id: Ia64eac1eb4e30457b323c6ab99d26d3d40c28060
2018-02-09 08:16:43 +00:00
..
2018-02-09 08:16:43 +00:00
2017-06-29 11:21:44 +07:00
2017-02-28 20:49:05 +00:00

This directory contains the Barbican DevStack plugin.

To configure Barbican with DevStack, you will need to enable this plugin and the Barbican service by adding one line to the local section of your local.conf file.

To enable the plugin, add a line of the form:

enable_plugin barbican <GITURL> [GITREF]

where

<GITURL> is the URL of a Barbican repository
[GITREF] is an optional git ref (branch/ref/tag).  The default is master.

For example

enable_plugin barbican https://git.openstack.org/openstack/barbican stable/liberty

For more information, see the "Externally Hosted Plugins" section of https://docs.openstack.org/devstack/latest/plugins.html