The nova.keymgr.single_key_mgr
Module¶
An implementation of a key manager that returns a single key in response to all invocations of get_key.
-
class
SingleKeyManager
¶ Bases:
nova.keymgr.mock_key_mgr.MockKeyManager
This key manager implementation supports all the methods specified by the key manager interface. This implementation creates a single key in response to all invocations of create_key. Side effects (e.g., raising exceptions) for each method are handled as specified by the key manager interface.
-
delete_key
(ctxt, key_id, **kwargs)¶
-
store_key
(ctxt, key, **kwargs)¶
-