openstack.key_manager.v1.secret_consumer

class openstack.key_manager.v1.secret_consumer.SecretConsumer(_synchronized=False, connection=None, **attrs)

Bases: Resource

The base resource

Parameters:
  • _synchronized – This is not intended to be used directly. See new() and existing().

  • connection – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resources_key = 'consumers'

Plural form of key for resource.

base_path = '/secrets/%(secret_id)s/consumers'

The base part of the URI for this resource.

allow_create = True

Allow create operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

requires_id = False

Do calls for this resource require an ID.

secret_id

URI attributes

service

Body attributes

resource_type

Body attributes

resource_id

Body attributes