diff --git a/oslo_utils/strutils.py b/oslo_utils/strutils.py index 7376ce0d..6b82dba6 100644 --- a/oslo_utils/strutils.py +++ b/oslo_utils/strutils.py @@ -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', 'encrypted_key'] + 'CHAPPASSWORD', 'encrypted_key', 'private_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