Bases: keystoneclient.httpclient.HTTPClient
Client for the OpenStack Identity API v3.
Parameters: |
|
---|
Example:
>>> from keystoneclient.v3 import client
>>> keystone = client.Client(user_domain_name=DOMAIN_NAME,
... username=USER,
... password=PASS,
... project_domain_name=PROJECT_DOMAIN_NAME,
... project_name=PROJECT_NAME,
... auth_url=KEYSTONE_URL)
...
>>> keystone.projects.list()
...
>>> user = keystone.users.get(USER_ID)
>>> user.delete()
Authenticate against the v3 Identity API.
Returns: | access.AccessInfo if authentication was successful. |
---|---|
Raises : | AuthorizationFailure if unable to authenticate or validate the existing authorization token |
Raises : | Unauthorized if authentication fails due to invalid token |
Extract and process information from the new auth_ref.
And set the relevant authentication information.
Bases: keystoneclient.base.Resource
Represents an Identity credential.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity credentials.
List credentials.
If **kwargs are provided, then filter credentials with attributes matching **kwargs.
alias of Credential
Bases: keystoneclient.base.Resource
Represents an Identity domain.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity domains.
List domains.
Bases: keystoneclient.base.Resource
Represents an Identity endpoint.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity endpoints.
List endpoints.
If **kwargs are provided, then filter endpoints with attributes matching **kwargs.
Bases: keystoneclient.base.Resource
Represents an Identity user group.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity groups.
List groups.
If domain or user is provided, then filter groups with that attribute.
If **kwargs are provided, then filter groups with attributes matching **kwargs.
Bases: keystoneclient.base.Resource
Represents an Identity policy.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity policies.
List policies.
Bases: keystoneclient.base.Resource
Represents an Identity project.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity projects.
List projects.
If domain or user are provided, then filter projects with those attributes.
If **kwargs are provided, then filter projects with attributes matching **kwargs.
Bases: keystoneclient.base.Resource
Represents an Identity role.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity roles.
Checks if a user or group has a role on a domain or project.
Grants a role to a user or group on a domain or project.
Lists roles and role grants.
If no arguments are provided, all roles in the system will be listed.
If a user or group is specified, you must also specify either a domain or project to list role grants on that pair. And if **kwargs are provided, then also filter roles with attributes matching **kwargs.
Revokes a role from a user or group on a domain or project.
Bases: keystoneclient.base.Resource
Represents an Identity service.
Bases: keystoneclient.base.Resource
Represents an Identity user.
Bases: keystoneclient.base.CrudManager
Manager class for manipulating Identity users.
Create a user.
Warning
The project argument is deprecated, use default_project instead.
If both default_project and project is provided, the default_project will be used.
List users.
If project, domain or group are provided, then filter users with those attributes.
If **kwargs are provided, then filter users with attributes matching **kwargs.
Warning
The project argument is deprecated, use default_project instead.
If both default_project and project is provided, the default_project will be used.
Update a user.
Warning
The project argument is deprecated, use default_project instead.
If both default_project and project is provided, the default_project will be used.
Update the password for the user the token belongs to.