For details on how to use key_management, see Using OpenStack Key Manager
The key_management high-level interface is available through the
key_manager
member of a Connection
object. The key_manager
member will only be added if the service is
detected.
openstack.key_manager.v1._proxy.
Proxy
(session, statsd_client=None, statsd_prefix=None, prometheus_counter=None, prometheus_histogram=None, influxdb_config=None, influxdb_client=None, *args, **kwargs)¶create_secret
(**attrs)¶Create a new secret from attributes
update_secret
(secret, **attrs)¶Update a secret
delete_secret
(secret, ignore_missing=True)¶Delete a secret
secret – The value can be either the ID of a secret or a
Secret
instance.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the secret does not exist.
When set to True
, no exception will be set when
attempting to delete a nonexistent secret.
None
get_secret
(secret)¶Get a single secret
find_secret
(name_or_id, ignore_missing=True)¶Find a single secret
name_or_id – The name or ID of a secret.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the resource does not exist.
When set to True
, None will be returned when
attempting to find a nonexistent resource.
One Secret
or
None
openstack.key_manager.v1._proxy.
Proxy
(session, statsd_client=None, statsd_prefix=None, prometheus_counter=None, prometheus_histogram=None, influxdb_config=None, influxdb_client=None, *args, **kwargs)create_container
(**attrs)¶Create a new container from attributes
update_container
(container, **attrs)¶Update a container
delete_container
(container, ignore_missing=True)¶Delete a container
container – The value can be either the ID of a container or a
Container
instance.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the container does not exist.
When set to True
, no exception will be set when
attempting to delete a nonexistent container.
None
get_container
(container)¶Get a single container
find_container
(name_or_id, ignore_missing=True)¶Find a single container
name_or_id – The name or ID of a container.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the resource does not exist.
When set to True
, None will be returned when
attempting to find a nonexistent resource.
One Container
or None
openstack.key_manager.v1._proxy.
Proxy
(session, statsd_client=None, statsd_prefix=None, prometheus_counter=None, prometheus_histogram=None, influxdb_config=None, influxdb_client=None, *args, **kwargs)create_order
(**attrs)¶Create a new order from attributes
update_order
(order, **attrs)¶Update a order
delete_order
(order, ignore_missing=True)¶Delete an order
order – The value can be either the ID of a order or a
Order
instance.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the order does not exist.
When set to True
, no exception will be set when
attempting to delete a nonexistent order.
None
get_order
(order)¶Get a single order
find_order
(name_or_id, ignore_missing=True)¶Find a single order
name_or_id – The name or ID of a order.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the resource does not exist.
When set to True
, None will be returned when
attempting to find a nonexistent resource.
One Order
or None
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.