keystone.trust package

Submodules

keystone.trust.controllers module

class keystone.trust.controllers.TrustV3(*args, **kwargs)[source]

Bases: keystone.common.controller.V3Controller

classmethod base_url(context, path=None)[source]

Construct a path and pass it to V3Controller.base_url method.

collection_name = 'trusts'
create_trust(request, *args, **kwargs)[source]

Create a new trust.

The user creating the trust must be the trustor.

delete_trust(request, *args, **kwargs)[source]
get_role_for_trust(request, *args, **kwargs)[source]

Get a role that has been assigned to a trust.

get_trust(request, trust_id)[source]
list_roles_for_trust(request, *args, **kwargs)[source]
list_trusts(request, *args, **kwargs)[source]
member_name = 'trust'

keystone.trust.core module

Main entry point into the Trust service.

class keystone.trust.core.Manager(*args, **kwargs)[source]

Bases: keystone.common.manager.Manager

Default pivot point for the Trust backend.

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

create_trust(*args, **kwargs)[source]

Create a new trust.

Returns:a new trust
delete_trust(*args, **kwargs)[source]

Remove a trust.

Raises keystone.exception.TrustNotFound:
 If the trust doesn’t exist.

Recursively remove given and redelegated trusts

driver_namespace = 'keystone.trust'
get_trust(*args, **kwargs)[source]
get_trust_pedigree(*args, **kwargs)[source]
class keystone.trust.core.TrustDriverV8(*args, **kwargs)[source]

Bases: keystone.trust.backends.base.TrustDriverV8

keystone.trust.routers module

WSGI Routers for the Trust service.

class keystone.trust.routers.Routers[source]

Bases: keystone.common.wsgi.RoutersBase

append_v3_routers(mapper, routers)[source]

keystone.trust.schema module

Module contents