summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhuvan Arumugam <bhuvan@apache.org>2012-08-22 15:57:59 -0700
committerBhuvan Arumugam <bhuvan@apache.org>2012-08-22 15:57:59 -0700
commit8010e773accce2d24c04659c88ac0c040c9a1932 (patch)
treeaaf99cbcdb640ef7455b0fa79509557a54e3bd8e
parenta5aa06c92f8624417fced545fd4799058dd22fdb (diff)
downloadpython-openstackclient-8010e773accce2d24c04659c88ac0c040c9a1932.tar.gz
Document the use of keyring.
* README.rst Document the option --os-use-keyring, and environment variable OS_USE_KEYRING, to enable keyring. Change-Id: I54ceb2d2692fecca328da16f6ed14db8d09a6eb7
-rw-r--r--README.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 4ea7000d..b8e26c9f 100644
--- a/README.rst
+++ b/README.rst
@@ -67,6 +67,7 @@ The 'password flow' variation is most commonly used::
export OS_TENANT_NAME=<tenant-name>
export OS_USERNAME=<user-name>
export OS_PASSWORD=<password> # (optional)
+ export OS_USE_KEYRING=true # (optional)
The corresponding command-line options look very similar::
@@ -74,9 +75,12 @@ The corresponding command-line options look very similar::
--os-tenant-name <tenant-name>
--os-username <user-name>
[--os-password <password>]
+ [--os-use-keyring]
If a password is not provided above (in plaintext), you will be interactively
-prompted to provide one securely.
+prompted to provide one securely. If keyring is enabled, the password entered
+in the prompt is stored in keyring. From next time, the password is read from
+keyring, if it is not provided above (in plaintext).
The token flow variation for authentication uses an already-aquired token
and a URL pointing directly to the service API that presumably was acquired