keystoneclient.v3.contrib package

Submodules

keystoneclient.v3.contrib.endpoint_filter module

class keystoneclient.v3.contrib.endpoint_filter.EndpointFilterManager(client)

Bases: keystoneclient.base.Manager

Manager class for manipulating project-endpoint associations.

OS_EP_FILTER_EXT = '/OS-EP-FILTER'
add_endpoint_to_project(project, endpoint)

Create a project-endpoint association.

check_endpoint_in_project(project, endpoint)

Checks if project-endpoint association exist.

delete_endpoint_from_project(project, endpoint)

Remove a project-endpoint association.

list_endpoints_for_project(project)

List all endpoints for a given project.

list_projects_for_endpoint(endpoint)

List all projects for a given endpoint.

keystoneclient.v3.contrib.trusts module

class keystoneclient.v3.contrib.trusts.Trust(manager, info, loaded=False)

Bases: keystoneclient.base.Resource

Represents a Trust.

Attributes:
  • id: a uuid that identifies the trust
  • impersonation: allow explicit impersonation
  • project_id: project ID
  • trustee_user_id: a uuid that identifies the trustee
  • trustor_user_id: a uuid that identifies the trustor
class keystoneclient.v3.contrib.trusts.TrustManager(client)

Bases: keystoneclient.base.CrudManager

Manager class for manipulating Trusts.

base_url = '/OS-TRUST'
collection_key = 'trusts'
create(trustee_user, trustor_user, role_names=None, project=None, impersonation=False, expires_at=None, remaining_uses=None, **kwargs)

Create a Trust.

Parameters:
  • trustee_user (string) – user who is capable of consuming the trust
  • trustor_user (string) – user who’s authorization is being delegated
  • role_names (string) – subset of trustor’s roles to be granted
  • project (string) – project which the trustor is delegating
  • impersonation (boolean) – enable explicit impersonation
  • expires_at (datetime.datetime) – expiry time
  • remaining_uses (integer) – how many times this trust can be used to generate a token. None means unlimited tokens.
delete(trust)

Delete a trust.

get(trust)

Get a specific trust.

key = 'trust'
list(trustee_user=None, trustor_user=None, **kwargs)

List Trusts.

resource_class

alias of Trust

update()

Module contents