keystone.application_credential.core module¶
Main entry point into the Application Credential service.
- class keystone.application_credential.core.Manager[source]¶
Bases:
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(application_credential_id, secret)[source]¶
Authenticate with an application credential.
- Parameters:
application_credential_id (str) – Application Credential ID
secret (str) – Application Credential secret
- create_application_credential(application_credential, initiator=None)[source]¶
Create a new application credential.
- Parameters:
application_credential (dict) – Application Credential data
initiator – CADF initiator
- Returns:
a new application credential
- delete_access_rule(access_rule_id, initiator=None)[source]¶
Delete an access rule.
- Parameters:
str – access_rule_id: Access Rule ID
initiator – CADF initiator
- Raises:
keystone.exception.AccessRuleNotFound – If the access rule doesn’t exist.
- delete_application_credential(application_credential_id, initiator=None)[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_access_rule(access_rule_id)[source]¶
Get access rule details.
- Parameters:
access_rule_id (str) – Access Rule ID
- Returns:
an access rule
- get_application_credential(application_credential_id)[source]¶
Get application credential details.
- Parameters:
application_credential_id (str) – Application Credential ID
- Returns:
an application credential