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

- Add a simple introduction for the original parameters
  - Add two necessary parameters for Identity API v3:
    - user_domain_{name|id}
    - project_domain_{name|id}

Change-Id: Iebd9bb57fcdbd6abb8fc369e69ba52805fb77170
This commit is contained in:
ya.wang 2018-02-23 17:58:08 +08:00
parent c032291e3f
commit ec2c2d7da0
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