keystone.application_credential package

keystone.application_credential package

Submodules

keystone.application_credential.controllers module

Workflow Logic the Application Credential service.

class keystone.application_credential.controllers.ApplicationCredentialV3[source]

Bases: keystone.common.controller.V3Controller

collection_name = 'application_credentials'
create_application_credential(request, *args, **kwargs)[source]
delete_application_credential(request, *args, **kwargs)[source]
get_application_credential(request, *args, **kwargs)[source]
list_application_credentials(request, **kwargs)[source]
member_name = 'application_credential'
classmethod wrap_member(context, ref)[source]

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(*args, **kwargs)[source]

Authenticate with an application credential.

Parameters:
  • application_credential_id (str) – Application Credential ID
  • secret (str) – Application Credential secret
create_application_credential(*args, **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(*args, **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(*args, **kwargs)[source]

Get application credential details.

Parameters:application_credential_id (str) – Application Credential ID
Returns:an application credential
list_application_credentials(*args, **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

keystone.application_credential.routers module

WSGI Routers for the Application Credential service.

class keystone.application_credential.routers.Routers[source]

Bases: keystone.common.wsgi.RoutersBase

append_v3_routers(mapper, routers)[source]

keystone.application_credential.schema module

Module contents

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.