contrib Package

contrib Package

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.

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, **kwargs)

Create a Trust. :param string trustee_user: user who is capable of consuming the trust :param string trustor_user: user who’s authorization is being delegated :param string role_names: subset of trustor’s roles to be granted :param string project: project which the trustor is delegating :param boolean impersonation: enable explicit impersonation :param datetime.datetime expires_at: expiry time

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()

Table Of Contents

Previous topic

v3 Package

Next topic

federation Package

This Page