diff options
author | ya.wang <wang.ya@99cloud.net> | 2018-02-23 17:58:08 +0800 |
---|---|---|
committer | ya.wang <wang.ya@99cloud.net> | 2018-03-12 09:30:45 +0800 |
commit | ec2c2d7da08e2e1bd0dd70cf041d67456059b86f (patch) | |
tree | 61846a80224e43dcc241169b18451a1af23204ba /doc | |
parent | c032291e3f27db138303feeb36f235e733abc972 (diff) | |
download | python-glanceclient-ec2c2d7da08e2e1bd0dd70cf041d67456059b86f.tar.gz |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/reference/apiv2.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/source/reference/apiv2.rst b/doc/source/reference/apiv2.rst index 3f75bc6..3d87d2a 100644 --- a/doc/source/reference/apiv2.rst +++ b/doc/source/reference/apiv2.rst @@ -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 |