Merge "Update 'doc/source/reference/apiv2.rst'"

This commit is contained in:
Zuul 2018-07-17 23:03:59 +00:00 committed by Gerrit Code Review
commit c3afa0b70d
1 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,18 @@
Python API v2
=============
These Identity Service credentials can be used to authenticate::
* auth_url: Identity Service endpoint for authorization
* username: name of user
* password: user's password
* project_{name|id}: name or ID of project
Also the following parameters are required when using the Identity API v3::
* user_domain_{name|id}: name or ID of a domain the user belongs to
* project_domain_{name|id}: name or ID for a domain the project belongs to
To create a client::
from keystoneauth1 import loading