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 2d46f48375)
This commit is contained in:
Pavlo Shchelokovskyy 2018-05-10 19:20:11 +03:00
parent a334f66a4f
commit f7e23802cd
2 changed files with 6 additions and 0 deletions

View File

@ -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,

View File

@ -0,0 +1,5 @@
---
security:
- |
Xclarity password specified in configuration file is now properly masked
during logging.