Module Expr Str ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str Num Return BinOpMult Str BinOpDiv NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list decorator_list
N/A N/A 
An implementation of a key manager that returns a single key in response to
all invocations of get_key.
 oslo_log log logging nova exception nova.i18n _ _LW nova.keymgr mock_key_mgr N/A LOG N/A N/A logging getLogger __name__ SingleKeyManager N/A N/A mock_key_mgr MockKeyManager N/A N/A 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.
     __init__ N/A N/A self N/A N/A N/A N/A N/A LOG warning N/A _LW This key manager is insecure and is not recommended for production deployments N/A N/A N/A N/A super SingleKeyManager self __init__ N/A N/A self key_id 00000000-0000-0000-0000-000000000000 N/A N/A self key N/A N/A self _generate_key key_length 256 N/A N/A N/A self keys N/A N/A self key_id N/A self key N/A _generate_hex_key N/A N/A self N/A kwargs N/A N/A key_length N/A N/A kwargs get key_length 256 N/A N/A 0 N/A key_length 4 N/A _generate_key_id N/A N/A self N/A N/A N/A N/A self key_id N/A store_key N/A N/A self ctxt key N/A kwargs N/A N/A N/A key N/A self key N/A N/A N/A N/A exception KeyManagerError reason N/A _ cannot store arbitrary keys N/A N/A N/A N/A super SingleKeyManager self store_key ctxt key kwargs N/A delete_key N/A N/A self ctxt key_id N/A kwargs N/A N/A N/A ctxt None N/A N/A N/A N/A exception Forbidden N/A N/A key_id N/A self key_id N/A N/A N/A N/A exception KeyManagerError reason N/A _ cannot delete non-existent key N/A N/A N/A LOG warning N/A _LW Not deleting key %s key_id N/A N/A