Charm Interface - Barbican HSM plugin
Go to file
Andreas Jaeger f55bd3a7f9 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I265e47a84516982f9a470690c91ee563cf8251f0
Story: #2002586
Task: #24317
2018-10-04 15:24:04 +02:00
.gitreview Update tox to remove deprecated pip option; add .gitreview 2018-10-04 12:57:07 +02:00
.zuul.yaml import zuul job settings from project-config 2018-10-04 15:24:04 +02:00
LICENSE Add LICENSE, copyright headers and docstrings 2016-07-01 14:49:41 +00:00
README.md Rename the interface to barbican-hsm 2016-07-13 16:31:23 +00:00
interface.yaml Rename the interface to barbican-hsm 2016-07-13 16:31:23 +00:00
provides.py Rename the interface to barbican-hsm 2016-07-13 16:31:23 +00:00
requires.py Rename the interface to barbican-hsm 2016-07-13 16:31:23 +00:00
test-requirements.txt Initial interface files 2016-06-23 13:40:04 +00:00
tox.ini Update tox to remove deprecated pip option; add .gitreview 2018-10-04 12:57:07 +02:00

README.md

Overview

This interface supports the integration between Barbican and HSM devices.

Usage

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

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

For an HSM subordinate charm

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

metadata

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

includes: ['interface:barbican-hsm']

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

provides:
  hsm:
    interface: barbican-hsm
    scope: container

Please see the example 'Barbican SoftHSM' charm for an example of how to author an HSM charm.

Bugs

Please report bugs on Launchpad.

For development questions please refer to the OpenStack Charm Guide.