Merge "Added the token 'encrypted_key' to mask_password list"

This commit is contained in:
Jenkins 2017-01-02 18:29:47 +00:00 committed by Gerrit Code Review
commit 3181e5ba55
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ SLUGIFY_HYPHENATE_RE = re.compile(r"[-\s]+")
_SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password',
'auth_token', 'new_pass', 'auth_password', 'secret_uuid',
'secret', 'sys_pswd', 'token', 'configdrive',
'CHAPPASSWORD']
'CHAPPASSWORD', 'encrypted_key']
# 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