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
This commit is contained in:
David Hill 2018-12-03 14:43:29 -05:00
parent 4ee8460e5b
commit d433143ba9
1 changed files with 1 additions and 0 deletions

View File

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