Add secret=true to fixed_key configuration parameter

Add secret=true to fixed_key configuration parameter as that value
shouldn't be logged.

Change-Id: I21e1246769213fb7b9e283c0ed3a369cbe780650
Closes-Bug: #1806473
(cherry picked from commit d433143ba9)
(cherry picked from commit 1dbcbbc9b3)
This commit is contained in:
David Hill 2018-12-03 14:43:29 -05:00 committed by Sofia Enriquez
parent 61e90d528d
commit 2edfdba7ce
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ from cinder.i18n import _
key_mgr_opts = [
cfg.StrOpt('fixed_key',
secret=True,
help='Fixed key returned by key manager, specified in hex',
deprecated_group='keymgr'),
]