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
| Parameters: | attrs (dict) – Keyword arguments which will be used to create a
Secret,
comprised of the properties on the Order class. |
|---|---|
| Returns: | The results of secret creation |
| Return type: | Secret |
delete_secret(secret, ignore_missing=True)Delete a secret
| Parameters: |
|
|---|---|
| Returns: |
|
find_secret(name_or_id, ignore_missing=True)Find a single secret
| Parameters: |
|
|---|---|
| Returns: | One |
get_secret(secret)Get a single secret
| Parameters: | secret – The value can be the ID of a secret or a
Secret
instance. |
|---|---|
| Returns: | One Secret |
| Raises: | ResourceNotFound
when no resource can be found. |
secrets(**query)Return a generator of secrets
| Parameters: | query (kwargs) – Optional query parameters to be sent to limit the resources being returned. |
|---|---|
| Returns: | A generator of secret objects |
| Return type: | Secret |
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
| Parameters: | attrs (dict) – Keyword arguments which will be used to create
a Container,
comprised of the properties on the Container class. |
|---|---|
| Returns: | The results of container creation |
| Return type: | Container |
delete_container(container, ignore_missing=True)Delete a container
| Parameters: |
|
|---|---|
| Returns: |
|
find_container(name_or_id, ignore_missing=True)Find a single container
| Parameters: |
|
|---|---|
| Returns: | One |
get_container(container)Get a single container
| Parameters: | container – The value can be the ID of a container or a
Container
instance. |
|---|---|
| Returns: | One Container |
| Raises: | ResourceNotFound
when no resource can be found. |
containers(**query)Return a generator of containers
| Parameters: | query (kwargs) – Optional query parameters to be sent to limit the resources being returned. |
|---|---|
| Returns: | A generator of container objects |
| Return type: | Container |
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
| Parameters: | attrs (dict) – Keyword arguments which will be used to create
a Order,
comprised of the properties on the Order class. |
|---|---|
| Returns: | The results of order creation |
| Return type: | Order |
delete_order(order, ignore_missing=True)Delete an order
| Parameters: |
|
|---|---|
| Returns: |
|
find_order(name_or_id, ignore_missing=True)Find a single order
| Parameters: |
|
|---|---|
| Returns: | One |
get_order(order)Get a single order
| Parameters: | order – The value can be the ID of an order or a
Order
instance. |
|---|---|
| Returns: | One Order |
| Raises: | ResourceNotFound
when no resource can be found. |
orders(**query)Return a generator of orders
| Parameters: | query (kwargs) – Optional query parameters to be sent to limit the resources being returned. |
|---|---|
| Returns: | A generator of order objects |
| Return type: | Order |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.