Charm Interface - Barbican HSM plugin
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
OpenDev Sysadmins a2705db6a5 OpenDev Migration Patch 1 år sedan
.gitreview OpenDev Migration Patch 1 år sedan
.zuul.yaml import zuul job settings from project-config 1 år sedan
LICENSE Add LICENSE, copyright headers and docstrings 3 år sedan
README.md Rename the interface to barbican-hsm 3 år sedan
interface.yaml Rename the interface to barbican-hsm 3 år sedan
provides.py Rename the interface to barbican-hsm 3 år sedan
requires.py Rename the interface to barbican-hsm 3 år sedan
test-requirements.txt Initial interface files 4 år sedan
tox.ini Add py36 tox environment 1 år sedan

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.