apmec.keymgr.barbican_key_manager
Module¶Key manager implementation for Barbican
apmec.keymgr.barbican_key_manager.
BarbicanKeyManager
(auth_url)¶Bases: apmec.keymgr.key_manager.KeyManager
Key Manager Interface that wraps the Barbican client API.
delete
(context, managed_object_id)¶Deletes the specified managed object.
Parameters: |
|
---|---|
Raises: |
|
get
(context, managed_object_id, metadata_only=False)¶Retrieves the specified managed object.
Parameters: |
|
---|---|
Returns: | ManagedObject representation of the managed object |
Raises: |
|
store
(context, secret, expiration=None)¶Stores a secret with the key manager.
Parameters: |
|
---|---|
Returns: | the UUID of the stored object |
Raises: | KeyManagerError – if object store fails |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.