diff options
author | Brant Knudson <bknudson@us.ibm.com> | 2016-01-14 16:22:04 -0600 |
---|---|---|
committer | Brant Knudson <bknudson@us.ibm.com> | 2016-01-14 16:22:04 -0600 |
commit | 04f9f33b4b6079d39c3feea0b1ec1211a1de6a04 (patch) | |
tree | f06921e02d07210132830987a7e8fb4ee460f8eb /keystoneclient/auth/identity/generic/password.py | |
parent | 977fc4c92c834e5f9124b8f18b3ebb68abb2a1f1 (diff) | |
download | python-keystoneclient-04f9f33b4b6079d39c3feea0b1ec1211a1de6a04.tar.gz |
Mark password/secret options as secret
Password, token, and secret options should be marked as secret=True
so that when the value is logged the logger knows to obfuscate the
value.
Change-Id: I6ebdfa3bf6faf37bc11640a5826b3b55bb920fc4
Closes-Bug: 1534299
Diffstat (limited to 'keystoneclient/auth/identity/generic/password.py')
-rw-r--r-- | keystoneclient/auth/identity/generic/password.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/auth/identity/generic/password.py b/keystoneclient/auth/identity/generic/password.py index 3c4180c..3527b19 100644 --- a/keystoneclient/auth/identity/generic/password.py +++ b/keystoneclient/auth/identity/generic/password.py @@ -30,7 +30,7 @@ def get_options(): deprecated_name='user-name'), cfg.StrOpt('user-domain-id', help="User's domain id"), cfg.StrOpt('user-domain-name', help="User's domain name"), - cfg.StrOpt('password', help="User's password"), + cfg.StrOpt('password', secret=True, help="User's password"), ] |