# keystone.api.credentials module

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

  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

  Bases: `ResourceBase`

  collection_key: str = 'credentials'
  delete(credential_id: str)

    Delete credentials.

    DELETE /v3/credentials/{credential_id}

  get(credential_id: str)

    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)

    Update existing credentials.

    PATCH /v3/credentials/{credential_id}

class keystone.api.credentials.CredentialsResource

  Bases: `ResourceBase`

  collection_key: str = 'credentials'
  get()

    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()

    Create new credentials.

    POST /v3/credentials

this page last updated: 2026-06-11 21:52:50

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug