summaryrefslogtreecommitdiff
path: root/oslo_utils/strutils.py
diff options
context:
space:
mode:
authorlin-hua-cheng <os.lcheng@gmail.com>2015-10-12 15:06:19 -0700
committerlin-hua-cheng <os.lcheng@gmail.com>2015-10-12 15:06:33 -0700
commit9776cdd332fb39dbff6ca9fb9ff98478a12920d9 (patch)
treec2c5f93a7f98417728456a4c64985dda72263d0f /oslo_utils/strutils.py
parenta6eb150ea81a8b7897318595dc7d90be44efa632 (diff)
downloadoslo-utils-9776cdd332fb39dbff6ca9fb9ff98478a12920d9.tar.gz
Add 'secret' to sensitive keys
Change-Id: Iaf1ffe5085315be6b1c26b5f8a7fa43aefe65dde Closes-Bug: #1505420
Diffstat (limited to 'oslo_utils/strutils.py')
-rw-r--r--oslo_utils/strutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_utils/strutils.py b/oslo_utils/strutils.py
index 56466b2..62912e2 100644
--- a/oslo_utils/strutils.py
+++ b/oslo_utils/strutils.py
@@ -53,7 +53,7 @@ SLUGIFY_HYPHENATE_RE = re.compile(r"[-\s]+")
# NOTE(flaper87): The following globals are used by `mask_password`
_SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password',
'auth_token', 'new_pass', 'auth_password', 'secret_uuid',
- 'sys_pswd', 'token']
+ 'secret', 'sys_pswd', 'token']
# NOTE(ldbragst): Let's build a list of regex objects using the list of
# _SANITIZE_KEYS we already have. This way, we only have to add the new key