AccessInfo
AccessInfo.audit_chain_id
AccessInfo.audit_id
AccessInfo.auth_token
AccessInfo.bind
AccessInfo.domain_id
AccessInfo.domain_name
AccessInfo.domain_scoped
AccessInfo.expires
AccessInfo.has_service_catalog()
AccessInfo.initial_audit_id
AccessInfo.is_admin_project
AccessInfo.is_federated
AccessInfo.issued
AccessInfo.oauth_access_token_id
AccessInfo.oauth_consumer_id
AccessInfo.project_domain_id
AccessInfo.project_domain_name
AccessInfo.project_id
AccessInfo.project_is_domain
AccessInfo.project_name
AccessInfo.project_scoped
AccessInfo.role_ids
AccessInfo.role_names
AccessInfo.scoped
AccessInfo.service_catalog
AccessInfo.service_providers
AccessInfo.system_scoped
AccessInfo.tenant_id
AccessInfo.tenant_name
AccessInfo.trust_id
AccessInfo.trust_scoped
AccessInfo.trustee_user_id
AccessInfo.trustor_user_id
AccessInfo.user_domain_id
AccessInfo.user_domain_name
AccessInfo.user_id
AccessInfo.username
AccessInfo.will_expire_soon()
AccessInfoV2
AccessInfoV2.audit_chain_id
AccessInfoV2.audit_id
AccessInfoV2.auth_token
AccessInfoV2.bind
AccessInfoV2.domain_id
AccessInfoV2.domain_name
AccessInfoV2.domain_scoped
AccessInfoV2.expires
AccessInfoV2.has_service_catalog()
AccessInfoV2.is_admin_project
AccessInfoV2.is_federated
AccessInfoV2.issued
AccessInfoV2.oauth_access_token_id
AccessInfoV2.oauth_consumer_id
AccessInfoV2.project_domain_id
AccessInfoV2.project_domain_name
AccessInfoV2.project_id
AccessInfoV2.project_is_domain
AccessInfoV2.project_name
AccessInfoV2.role_ids
AccessInfoV2.role_names
AccessInfoV2.service_providers
AccessInfoV2.system_scoped
AccessInfoV2.trust_id
AccessInfoV2.trust_scoped
AccessInfoV2.trustee_user_id
AccessInfoV2.trustor_user_id
AccessInfoV2.user_domain_id
AccessInfoV2.user_domain_name
AccessInfoV2.user_id
AccessInfoV2.username
AccessInfoV2.version
AccessInfoV3
AccessInfoV3.application_credential
AccessInfoV3.application_credential_access_rules
AccessInfoV3.application_credential_id
AccessInfoV3.audit_chain_id
AccessInfoV3.audit_id
AccessInfoV3.bind
AccessInfoV3.domain_id
AccessInfoV3.domain_name
AccessInfoV3.domain_scoped
AccessInfoV3.expires
AccessInfoV3.has_service_catalog()
AccessInfoV3.is_admin_project
AccessInfoV3.is_federated
AccessInfoV3.issued
AccessInfoV3.oauth2_credential
AccessInfoV3.oauth2_credential_thumbprint
AccessInfoV3.oauth_access_token_id
AccessInfoV3.oauth_consumer_id
AccessInfoV3.project_domain_id
AccessInfoV3.project_domain_name
AccessInfoV3.project_id
AccessInfoV3.project_is_domain
AccessInfoV3.project_name
AccessInfoV3.role_ids
AccessInfoV3.role_names
AccessInfoV3.service_providers
AccessInfoV3.system
AccessInfoV3.system_scoped
AccessInfoV3.trust_id
AccessInfoV3.trust_scoped
AccessInfoV3.trustee_user_id
AccessInfoV3.trustor_user_id
AccessInfoV3.user_domain_id
AccessInfoV3.user_domain_name
AccessInfoV3.user_id
AccessInfoV3.username
AccessInfoV3.version
create()
ServiceCatalog
ServiceCatalog.catalog
ServiceCatalog.endpoint_data_for()
ServiceCatalog.get_endpoint_data_list()
ServiceCatalog.get_endpoints()
ServiceCatalog.get_endpoints_data()
ServiceCatalog.get_urls()
ServiceCatalog.is_interface_match()
ServiceCatalog.normalize_catalog()
ServiceCatalog.normalize_interface()
ServiceCatalog.url_for()
ServiceCatalogV2
ServiceCatalogV3
Bases: object
Encapsulates a raw authentication token from keystone.
Provides helper methods for extracting useful values from that token.
Return the audit chain ID if present.
In the event that a token was rescoped then this ID will be the
audit_id
of the initial token. Returns None if no value
present.
str or None.
Return the audit ID if present.
str or None.
Return the token_id associated with the auth request.
To be used in headers for authenticating OpenStack API requests.
str
Information about external mechanisms the token is bound to.
If a token is bound to an external authentication mechanism it can only be used in conjunction with that mechanism. For example if bound to a kerberos principal it may only be accepted if there is also kerberos authentication performed on the request.
A dictionary or None. The key will be the bind type the value is a dictionary that is specific to the format of the bind type. Returns None if there is no bind information in the token.
Return the domain id associated with the auth request.
str or None (if no domain associated with the token)
Return the domain name associated with the auth request.
str or None (if no domain associated with the token)
Return true if the auth token was scoped to a domain.
bool
Return the token expiration (as datetime object).
datetime
Return true if the auth token has a service catalog.
boolean
The audit ID of the initially requested token.
This is the audit_chain_id
if present or the
audit_id
.
Return true if the current project scope is the admin project.
For backwards compatibility purposes if there is nothing specified in the token we always assume we are in the admin project, so this will default to True.
:returns boolean
Return true if federation was used to get the token.
boolean
Return the token issue time (as datetime object).
datetime
Return the access token ID if OAuth authentication used.
str or None.
Return the consumer ID if OAuth authentication used.
str or None.
Return the project’s domain id associated with the auth request.
str
Return the project’s domain name associated with the auth request.
str
Return the project ID associated with the auth request.
This returns None if the auth token wasn’t scoped to a project.
str or None (if no project associated with the token)
Return if a project act as a domain.
bool
Return the project name associated with the auth request.
str or None (if no project associated with the token)
Return true if the auth token was scoped to a tenant (project).
bool
Return a list of user’s role ids associated with the auth request.
a list of strings of role ids
Return a list of user’s role names associated with the auth request.
a list of strings of role names
Return true if the auth token was scoped.
Returns true if scoped to a tenant(project) or domain, and contains a populated service catalog.
This is deprecated, use project_scoped instead.
bool
Return an object representing the list of trusted service providers.
Used for Keystone2Keystone federating-out.
keystoneauth1.service_providers.ServiceProviders
or None
Return true if the auth token was scoped to the system.
bool
Synonym for project_id.
Synonym for project_name.
Return the trust id associated with the auth request.
str or None (if no trust associated with the token)
Return true if the auth token was scoped from a delegated trust.
The trust delegation is via the OS-TRUST v3 extension.
bool
Return the trustee user id associated with a trust.
str or None (if no trust associated with the token)
Return the trustor user id associated with a trust.
str or None (if no trust associated with the token)
Return the user’s domain id associated with the auth request.
str
Return the user’s domain name associated with the auth request.
str
Return the user id associated with the auth request.
str
Return the username associated with the auth request.
Follows the pattern defined in the V2 API of first looking for ‘name’, returning that if available, and falling back to ‘username’ if name is unavailable.
str
Determine if expiration is about to occur.
true if expiration is within the given duration
boolean
Bases: AccessInfo
An object for encapsulating raw v2 auth token from identity service.
Return the audit chain ID if present.
In the event that a token was rescoped then this ID will be the
audit_id
of the initial token. Returns None if no value
present.
str or None.
Return the audit ID if present.
str or None.
Return the token_id associated with the auth request.
To be used in headers for authenticating OpenStack API requests.
str
Information about external mechanisms the token is bound to.
If a token is bound to an external authentication mechanism it can only be used in conjunction with that mechanism. For example if bound to a kerberos principal it may only be accepted if there is also kerberos authentication performed on the request.
A dictionary or None. The key will be the bind type the value is a dictionary that is specific to the format of the bind type. Returns None if there is no bind information in the token.
Return the domain id associated with the auth request.
str or None (if no domain associated with the token)
Return the domain name associated with the auth request.
str or None (if no domain associated with the token)
Return true if the auth token was scoped to a domain.
bool
Return the token expiration (as datetime object).
datetime
Return true if the auth token has a service catalog.
boolean
Return true if the current project scope is the admin project.
For backwards compatibility purposes if there is nothing specified in the token we always assume we are in the admin project, so this will default to True.
:returns boolean
Return true if federation was used to get the token.
boolean
Return the token issue time (as datetime object).
datetime
Return the access token ID if OAuth authentication used.
str or None.
Return the consumer ID if OAuth authentication used.
str or None.
Return the project’s domain id associated with the auth request.
str
Return the project’s domain name associated with the auth request.
str
Return the project ID associated with the auth request.
This returns None if the auth token wasn’t scoped to a project.
str or None (if no project associated with the token)
Return if a project act as a domain.
bool
Return the project name associated with the auth request.
str or None (if no project associated with the token)
Return a list of user’s role ids associated with the auth request.
a list of strings of role ids
Return a list of user’s role names associated with the auth request.
a list of strings of role names
Return an object representing the list of trusted service providers.
Used for Keystone2Keystone federating-out.
keystoneauth1.service_providers.ServiceProviders
or None
Return true if the auth token was scoped to the system.
bool
Return the trust id associated with the auth request.
str or None (if no trust associated with the token)
Return true if the auth token was scoped from a delegated trust.
The trust delegation is via the OS-TRUST v3 extension.
bool
Return the trustee user id associated with a trust.
str or None (if no trust associated with the token)
Return the trustor user id associated with a trust.
str or None (if no trust associated with the token)
Return the user’s domain id associated with the auth request.
str
Return the user’s domain name associated with the auth request.
str
Return the user id associated with the auth request.
str
Return the username associated with the auth request.
Follows the pattern defined in the V2 API of first looking for ‘name’, returning that if available, and falling back to ‘username’ if name is unavailable.
str
Bases: AccessInfo
An object encapsulating raw v3 auth token from identity service.
Return the audit chain ID if present.
In the event that a token was rescoped then this ID will be the
audit_id
of the initial token. Returns None if no value
present.
str or None.
Return the audit ID if present.
str or None.
Information about external mechanisms the token is bound to.
If a token is bound to an external authentication mechanism it can only be used in conjunction with that mechanism. For example if bound to a kerberos principal it may only be accepted if there is also kerberos authentication performed on the request.
A dictionary or None. The key will be the bind type the value is a dictionary that is specific to the format of the bind type. Returns None if there is no bind information in the token.
Return the domain id associated with the auth request.
str or None (if no domain associated with the token)
Return the domain name associated with the auth request.
str or None (if no domain associated with the token)
Return true if the auth token was scoped to a domain.
bool
Return the token expiration (as datetime object).
datetime
Return true if the auth token has a service catalog.
boolean
Return true if the current project scope is the admin project.
For backwards compatibility purposes if there is nothing specified in the token we always assume we are in the admin project, so this will default to True.
:returns boolean
Return true if federation was used to get the token.
boolean
Return the token issue time (as datetime object).
datetime
Return the access token ID if OAuth authentication used.
str or None.
Return the consumer ID if OAuth authentication used.
str or None.
Return the project’s domain id associated with the auth request.
str
Return the project’s domain name associated with the auth request.
str
Return the project ID associated with the auth request.
This returns None if the auth token wasn’t scoped to a project.
str or None (if no project associated with the token)
Return if a project act as a domain.
bool
Return the project name associated with the auth request.
str or None (if no project associated with the token)
Return a list of user’s role ids associated with the auth request.
a list of strings of role ids
Return a list of user’s role names associated with the auth request.
a list of strings of role names
Return an object representing the list of trusted service providers.
Used for Keystone2Keystone federating-out.
keystoneauth1.service_providers.ServiceProviders
or None
Return true if the auth token was scoped to the system.
bool
Return the trust id associated with the auth request.
str or None (if no trust associated with the token)
Return true if the auth token was scoped from a delegated trust.
The trust delegation is via the OS-TRUST v3 extension.
bool
Return the trustee user id associated with a trust.
str or None (if no trust associated with the token)
Return the trustor user id associated with a trust.
str or None (if no trust associated with the token)
Return the user’s domain id associated with the auth request.
str
Return the user’s domain name associated with the auth request.
str
Return the user id associated with the auth request.
str
Return the username associated with the auth request.
Follows the pattern defined in the V2 API of first looking for ‘name’, returning that if available, and falling back to ‘username’ if name is unavailable.
str
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.