keystoneclient.v3.contrib package¶
Subpackages¶
- keystoneclient.v3.contrib.federation package- Submodules
- keystoneclient.v3.contrib.federation.base module
- keystoneclient.v3.contrib.federation.core module
- keystoneclient.v3.contrib.federation.domains module
- keystoneclient.v3.contrib.federation.identity_providers module
- keystoneclient.v3.contrib.federation.mappings module
- keystoneclient.v3.contrib.federation.projects module
- keystoneclient.v3.contrib.federation.protocols module
- keystoneclient.v3.contrib.federation.saml module
- keystoneclient.v3.contrib.federation.service_providers module
- Module contents
 
- keystoneclient.v3.contrib.oauth1 package- Submodules
- keystoneclient.v3.contrib.oauth1.access_tokens module
- keystoneclient.v3.contrib.oauth1.auth module
- keystoneclient.v3.contrib.oauth1.consumers module
- keystoneclient.v3.contrib.oauth1.core module
- keystoneclient.v3.contrib.oauth1.request_tokens module
- keystoneclient.v3.contrib.oauth1.utils module
- Module contents
 
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)¶
- Check 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.endpoint_policy module¶
- 
class keystoneclient.v3.contrib.endpoint_policy.EndpointPolicyManager(client)¶
- Bases: - keystoneclient.base.Manager- Manager class for manipulating endpoint-policy associations. - 
OS_EP_POLICY_EXT= 'OS-ENDPOINT-POLICY'¶
 - 
check_policy_association_for_endpoint(policy, endpoint)¶
- Check an association between a policy and an endpoint. 
 - 
check_policy_association_for_region_and_service(policy, region, service)¶
- Check an association between a policy and a service in a region. 
 - 
check_policy_association_for_service(policy, service)¶
- Check an association between a policy and a service. 
 - 
create_policy_association_for_endpoint(policy, endpoint)¶
- Create an association between a policy and an endpoint. 
 - 
create_policy_association_for_region_and_service(policy, region, service)¶
- Create an association between a policy and a service in a region. 
 - 
create_policy_association_for_service(policy, service)¶
- Create an association between a policy and a service. 
 - 
delete_policy_association_for_endpoint(policy, endpoint)¶
- Delete an association between a policy and an endpoint. 
 - 
delete_policy_association_for_region_and_service(policy, region, service)¶
- Delete an association between a policy and a service in a region. 
 - 
delete_policy_association_for_service(policy, service)¶
- Delete an association between a policy and a service. 
 - 
get_policy_for_endpoint(endpoint)¶
- Get the effective policy for an endpoint. - Parameters: - endpoint – endpoint object or ID - Returns: - policies.Policy object 
 - 
list_endpoints_for_policy(policy)¶
- List endpoints with the effective association to a policy. - Parameters: - policy – policy object or ID - Returns: - list of endpoints that are associated with the policy 
 
- 
keystoneclient.v3.contrib.simple_cert module¶
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. 
 - 
update()¶
 
-