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: keystone.server.flask.common.APIBase

resource_mapping = []
resources = [<class 'keystone.api.credentials.CredentialResource'>]
class keystone.api.credentials.CredentialResource[source]

Bases: keystone.server.flask.common.ResourceBase

collection_key = 'credentials'
delete(credential_id)[source]
get(credential_id=None)[source]
member_key = 'credential'
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST'}

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)[source]
post()[source]