summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTovin Seven <vinhnt@vn.fujitsu.com>2017-06-19 10:13:07 +0700
committerTovin Seven <vinhnt@vn.fujitsu.com>2017-07-24 13:30:29 +0700
commitc0f88d5fc0fd947319e022cfeba21bcb15635316 (patch)
tree951c0519930c42acc5e4b8d0ae3ea51d79242d58 /doc
parenta6e0cdf46d5fad2c6eb65d828af6734681d10cc1 (diff)
downloadpython-glanceclient-c0f88d5fc0fd947319e022cfeba21bcb15635316.tar.gz
Make --profile load from environment variables
--profile argument can be loaded from OS_PROFILE environment variables to avoid repeating --profile in client commands. Correct/update help text. Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com> Change-Id: I67c1e4b859b972e380eb658c98ceae4fbef5c254
Diffstat (limited to 'doc')
-rw-r--r--doc/source/cli/details.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/cli/details.rst b/doc/source/cli/details.rst
index f303c09..efc2a33 100644
--- a/doc/source/cli/details.rst
+++ b/doc/source/cli/details.rst
@@ -100,11 +100,11 @@ glance optional arguments
HMAC key to use for encrypting context data for
performance profiling of operation. This key should be
the value of HMAC key configured in osprofiler
- middleware in glance, it is specified in paste
- configuration file at /etc/glance/api-paste.ini and
- /etc/glance/registry-paste.ini. Without key the
+ middleware in glance, it is specified in glance
+ configuration file at /etc/glance/glance-api.conf and
+ /etc/glance/glance-registry.conf. Without key the
profiling will not be triggered even if osprofiler is
- enabled on server side.
+ enabled on server side. Defaults to ``env[OS_PROFILE]``.
``--key-file OS_KEY``
**DEPRECATED!** Use --os-key.