keystone.trust.core module

Main entry point into the Trust service.

class keystone.trust.core.Manager[source]

Bases: 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(trust_id, trust, roles, redelegated_trust=None, initiator=None)[source]

Create a new trust.

Returns:

a new trust

delete_trust(trust_id, initiator=None)[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(trust_id, deleted=False)[source]
get_trust_pedigree(trust_id)[source]