summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlistair Coles <alistairncoles@gmail.com>2018-06-11 13:19:05 +0100
committerAlistair Coles <alistairncoles@gmail.com>2018-06-11 17:25:21 +0100
commit33ad9fd4cc0ade9f0800a2815ee0ef514ae8f264 (patch)
tree54ee62d50f13e91a19eeab7bbc81f5fecc6b339b /doc
parent2312182241d36c716e624a23acd51f2b0252e4aa (diff)
downloadpython-swiftclient-33ad9fd4cc0ade9f0800a2815ee0ef514ae8f264.tar.gz
Add option for user to enter password
Add the --prompt option for the CLI which will cause the user to be prompted to enter a password. Any password otherwise specified by --key, --os-password or an environment variable will be ignored. The swift client will exit with a warning if the password cannot be entered without its value being echoed. Closes-Bug: #1357562 Change-Id: I513647eed460007617f129691069c6fb1bfe62d7
Diffstat (limited to 'doc')
-rw-r--r--doc/source/cli/index.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/source/cli/index.rst b/doc/source/cli/index.rst
index 4aa3bfc..88fafa1 100644
--- a/doc/source/cli/index.rst
+++ b/doc/source/cli/index.rst
@@ -139,6 +139,10 @@ swift optional arguments
compression should be disabled by default by the
system SSL library.
+``--prompt``
+ Prompt user to enter a password which overrides any password supplied via
+ ``--key``, ``--os-password`` or environment variables.
+
Authentication
~~~~~~~~~~~~~~