summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-17 23:03:59 +0000
committerGerrit Code Review <review@openstack.org>2018-07-17 23:03:59 +0000
commitc3afa0b70dc7fc2ff6272d23256e76fbc6ec4e47 (patch)
treea046009f862ac2244049f21c4d9c796ab97fb694 /doc
parentb7cf7ae0a25d895e2651000bc81db5eaa8bb661d (diff)
parentec2c2d7da08e2e1bd0dd70cf041d67456059b86f (diff)
downloadpython-glanceclient-c3afa0b70dc7fc2ff6272d23256e76fbc6ec4e47.tar.gz
Merge "Update 'doc/source/reference/apiv2.rst'"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/apiv2.rst12
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