https://github.com/ajkavanagh/interface-barbican-hsm
https://github.com/ajkavanagh/interface-barbican-hsm
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ajkavanagh/interface-barbican-hsm
- Owner: ajkavanagh
- License: apache-2.0
- Created: 2016-06-23T13:37:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-13T16:31:32.000Z (almost 9 years ago)
- Last Synced: 2025-01-11T13:17:41.794Z (5 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`:
```yaml
includes: ['interface:barbican-hsm']
```and add a provides interface of type `hsm` to your charm or layers
`metadata.yaml`:```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](https://bugs.launchpad.net/openstack-charms/+filebug).
For development questions please refer to the OpenStack [Charm Guide](https://github.com/openstack/charm-guide).