heat.engine.clients.os.barbican module

class heat.engine.clients.os.barbican.BarbicanClientPlugin(context)[source]

Bases: ClientPlugin

KEY_MANAGER = 'key-manager'
create_certificate(**props)[source]
create_generic_container(**props)[source]
create_rsa(**props)[source]
get_container_by_ref(container_ref)[source]
get_secret_by_ref(secret_ref)[source]
get_secret_payload_by_ref(secret_ref)[source]
is_not_found(ex)[source]

Returns True if the exception is a not-found.

service_types = ['key-manager']
class heat.engine.clients.os.barbican.ContainerConstraint[source]

Bases: BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.EntityNotFound'>,)
resource_client_name = 'barbican'
resource_getter_name = 'get_container_by_ref'
class heat.engine.clients.os.barbican.SecretConstraint[source]

Bases: BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.EntityNotFound'>,)
resource_client_name = 'barbican'
resource_getter_name = 'get_secret_by_ref'