diff options
author | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | 2018-05-10 19:20:11 +0300 |
---|---|---|
committer | Pavlo Shchelokovskyy <shchelokovskyy@gmail.com> | 2018-05-17 13:22:40 +0300 |
commit | f7e23802cd82f4750848bc4c0d04cf4ec2e1cdf5 (patch) | |
tree | 1ff97116cde4b2103647d2f774afed9ccb39d6f1 | |
parent | a334f66a4f33f96b1f174a1bec83fc1d5806bb01 (diff) | |
download | ironic-f7e23802cd82f4750848bc4c0d04cf4ec2e1cdf5.tar.gz |
Mark xclarity password as secret
so it is masked during logging.
Conflicts:
ironic/conf/xclarity.py
Change-Id: Iac0639f2884d95afd2d55b521268139ea0ca05f6
Story: #2002023
Task: #19664
(cherry picked from commit 2d46f483759a77c78f317a331e34a0b768e661f8)
-rw-r--r-- | ironic/conf/xclarity.py | 1 | ||||
-rw-r--r-- | releasenotes/notes/xclarity-mask-password-9fe7605ece7689c3.yaml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ironic/conf/xclarity.py b/ironic/conf/xclarity.py index a595126ba..0a30ccf13 100644 --- a/ironic/conf/xclarity.py +++ b/ironic/conf/xclarity.py @@ -22,6 +22,7 @@ opts = [ cfg.StrOpt('username', help=_('Username to access the XClarity controller.')), cfg.StrOpt('password', + secret=True, help=_('Password for XClarity controller username.')), cfg.PortOpt('port', default=443, diff --git a/releasenotes/notes/xclarity-mask-password-9fe7605ece7689c3.yaml b/releasenotes/notes/xclarity-mask-password-9fe7605ece7689c3.yaml new file mode 100644 index 000000000..615af27e5 --- /dev/null +++ b/releasenotes/notes/xclarity-mask-password-9fe7605ece7689c3.yaml @@ -0,0 +1,5 @@ +--- +security: + - | + Xclarity password specified in configuration file is now properly masked + during logging. |