keystone.application_credential.core module

keystone.application_credential.core module

Main entry point into the Application Credential service.

class keystone.application_credential.core.Manager[source]

Bases: keystone.common.manager.Manager

Default pivot point for the Application Credential backend.

See keystone.common.manager.Manager for more details on how this dynamically calls the backend.

authenticate(**kwargs)[source]

Authenticate with an application credential.

Parameters:
  • application_credential_id (str) – Application Credential ID
  • secret (str) – Application Credential secret
create_application_credential(**kwargs)[source]

Create a new application credential.

Parameters:
  • application_credential (dict) – Application Credential data
  • initiator – CADF initiator
Returns:

a new application credential

delete_application_credential(**kwargs)[source]

Delete an application credential.

Parameters:
  • application_credential_id (str) – Application Credential ID
  • initiator – CADF initiator
Raises:

keystone.exception.ApplicationCredentialNotFound – If the application credential doesn’t exist.

driver_namespace = 'keystone.application_credential'
get_application_credential(**kwargs)[source]

Get application credential details.

Parameters:application_credential_id (str) – Application Credential ID
Returns:an application credential
list_application_credentials(**kwargs)[source]

List application credentials for a user.

Parameters:
  • user_id (str) – User ID
  • hints (dict) – Properties to filter on
Returns:

a list of application credentials

Creative Commons Attribution 3.0 License

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