Mask chapsecret
Doesn't mask chapsecre >>> strutils.mask_password("'chapsecre' : 'aaaaa'") "'chapsecre' : 'aaaaa'" Masks chapsecret >>> strutils.mask_password("'chapsecret' : 'aaaaa'") "'chapsecret' : '***'" Closes-Bug: #2038466 Change-Id: Iae22a544ff69069b1b82b6ab3a885f3a19869287
This commit is contained in:
parent
a122f5c065
commit
cecf061e6e
@ -76,7 +76,7 @@ _SANITIZE_KEYS = ['adminpass', 'admin_pass', 'password', 'admin_password',
|
|||||||
'designaterndckey', 'cephadminkey', 'heatauthencryptionkey',
|
'designaterndckey', 'cephadminkey', 'heatauthencryptionkey',
|
||||||
'cephclientkey', 'keystonecredential',
|
'cephclientkey', 'keystonecredential',
|
||||||
'barbicansimplecryptokek', 'cephrgwkey', 'swifthashsuffix',
|
'barbicansimplecryptokek', 'cephrgwkey', 'swifthashsuffix',
|
||||||
'migrationsshkey', 'cephmdskey', 'cephmonkey']
|
'migrationsshkey', 'cephmdskey', 'cephmonkey', 'chapsecret']
|
||||||
|
|
||||||
# NOTE(ldbragst): Let's build a list of regex objects using the list of
|
# 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
|
# _SANITIZE_KEYS we already have. This way, we only have to add the new key
|
||||||
|
Loading…
Reference in New Issue
Block a user