Charm Interface - Barbican Secrets plugin
Go to file
OpenDev Sysadmins 47b903239e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:42:56 +00:00
unit_tests Add barbican-secrets interface code and unit tests 2018-10-17 16:20:39 +02:00
.gitignore Add barbican-secrets interface code and unit tests 2018-10-17 16:20:39 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:56 +00:00
.stestr.conf Initial commit of charm interface skeleton 2018-10-11 11:46:45 +02:00
.travis.yml Add barbican-secrets interface code and unit tests 2018-10-17 16:20:39 +02:00
.zuul.yaml Added tox environment for gathering coverage 2019-03-01 11:34:03 +01:00
LICENSE Initial commit of charm interface skeleton 2018-10-11 11:46:45 +02:00
README.md Initial commit of charm interface skeleton 2018-10-11 11:46:45 +02:00
interface.yaml Add barbican-secrets interface code and unit tests 2018-10-17 16:20:39 +02:00
provides.py Add barbican-secrets interface code and unit tests 2018-10-17 16:20:39 +02:00
requires.py Add barbican-secrets interface code and unit tests 2018-10-17 16:20:39 +02:00
test-requirements.txt Add barbican-secrets interface code and unit tests 2018-10-17 16:20:39 +02:00
tox.ini Excluding unit_tests from coverage 2019-03-01 15:03:16 +01:00

README.md

Overview

This interface supports the integration between Barbican and secrets stores.

Usage

No explicit handler is required to consume this interface in charms that consume this interface.

The interface provides secrets.connected and secrets.available states.

For an secrets subordinate charm

The secrets.connected state indicates that the Barbican principle charms has been connected to. At this point the plugin data required for to configure the secrets store from Barbican should be presented.

metadata

To consume this interface in your charm or layer, add the following to layer.yaml:

includes: ['interface:barbican-secrets']

and add a provides interface of type secrets to your charm or layers metadata.yaml:

provides:
  secrets:
    interface: barbican-secrets
    scope: container

Please see the example 'Barbican Vault' charm for an example of how to author an secrets store charm.

Bugs

Please report bugs on Launchpad.

For development questions please refer to the OpenStack Charm Guide.