keystone.api.credentials module

class keystone.api.credentials.CredentialAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]

Bases: APIBase

resource_mapping = [(<class 'keystone.api.credentials.CredentialsResource'>, '/credentials', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/credentials', 'stable', {})), (<class 'keystone.api.credentials.CredentialResource'>, '/credentials/<string:credential_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/credential', 'stable', {'credential_id': 'https://docs.openstack.org/api/openstack-identity/3/param/credential_id'}))]
class keystone.api.credentials.CredentialResource[source]

Bases: ResourceBase

collection_key: str = 'credentials'
delete(credential_id: str)[source]

Delete credentials.

DELETE /v3/credentials/{credential_id}

get(credential_id: str)[source]

Retrieve existing credentials.

GET /v3/credentials/{credential_id}

member_key: str = 'credential'
methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PATCH'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

patch(credential_id: str)[source]

Update existing credentials.

PATCH /v3/credentials/{credential_id}

class keystone.api.credentials.CredentialsResource[source]

Bases: ResourceBase

collection_key: str = 'credentials'
get()[source]

List credentials.

GET /v3/credentials

member_key: str = 'credential'
methods: t.ClassVar[t.Collection[str] | None] = {'GET', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

post()[source]

Create new credentials.

POST /v3/credentials