backend_argument should be marked secret

Since the backend_argument can potentially contain a password,
it should be marked secret to avoid leakage into the logs.

Closes-Bug: #1443598

Change-Id: I55663db4cf2df84a66de8f64fba4b4f129ae827d
(cherry picked from commit f9db1a65bd)
This commit is contained in:
Eric Brown 2015-04-13 11:37:53 -07:00 committed by Tristan Cacqueray
parent ab7b6871c2
commit a1548eb670
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ FILE_OPTIONS = {
'fixed length cache-keys. This is toggle-able for '
'debugging purposes, it is highly recommended to '
'always leave this set to True.'),
cfg.MultiStrOpt('backend_argument', default=[],
cfg.MultiStrOpt('backend_argument', default=[], secret=True,
help='Arguments supplied to the backend module. '
'Specify this option once per argument to be '
'passed to the dogpile.cache backend. Example '