summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorJeremy Liu <liujiong@gohighsec.com>2016-10-27 10:55:00 +0800
committerJeremy Liu <liujiong@gohighsec.com>2016-11-12 18:14:54 +0800
commit1576b73507541c996b9c1a8d83279cb2ed5ddd92 (patch)
treeeb2939d6d3f0197b365e607f9d10b45b61a2a2f0 /doc/source
parent3914abb31e7a95efd9ad45776bc262d36e39af91 (diff)
downloadpython-barbicanclient-1576b73507541c996b9c1a8d83279cb2ed5ddd92.tar.gz
Fix error in doc
Change-Id: Ica60978fe06a19df69f232614fcca3a7856d7d44
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/authentication.rst22
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/source/authentication.rst b/doc/source/authentication.rst
index 1032553..4cc7f5b 100644
--- a/doc/source/authentication.rst
+++ b/doc/source/authentication.rst
@@ -93,22 +93,26 @@ directory.
.. code-block:: bash
- export OS_PROJECT_NAME=admin
+ export OS_PROJECT_NAME=<YourProjectName>
- # Either Project ID or Project Name is required
- export OS_PROJECT_DOMAIN_ID=<YourProjectID>
- export OS_PROJECT_DOMAIN_NAME=<YourProjectName>
+ # Either Project Domain ID or Project Domain Name is required
+ export OS_PROJECT_DOMAIN_ID=<YourProjectDomainID>
+ export OS_PROJECT_DOMAIN_NAME=<YourProjectDomainName>
- # Either User ID or User Name is required
+ # Either User Domain ID or User Domain Name is required
export OS_USER_DOMAIN_ID=<YourUserDomainID>
export OS_USER_DOMAIN_NAME=<YourUserDomainName>
- export OS_USERNAME=admin
- export OS_PASSWORD=password
+
+ # Either User ID or Username can be used
+ export OS_USER_ID =<YourUserID>
+ export OS_USERNAME=<YourUserName>
+
+ export OS_PASSWORD=<YourPassword>
# OS_AUTH_URL should be your location of Keystone
# Barbican Client defaults to Keystone V3
- export OS_AUTH_URL="http://localhost:5000/v3/"
- export BARBICAN_ENDPOINT="http://localhost:9311"
+ export OS_AUTH_URL="<YourAuthURL>:5000/v3/"
+ export BARBICAN_ENDPOINT="<YourBarbicanEndpoint>:9311"
Make any appropriate changes to this file.