Mark trustee_domain_admin_password secret

The trustee_domain_admin_password config option needs to be marked
secret in order to avoid leaking of the password into the logs.

Change-Id: I45d87b5fc09ffbc075cba2575869a8c5cf10bc8b
Closes-Bug: #1555276
This commit is contained in:
Eric Brown 2016-03-09 10:16:43 -08:00
parent 9bd983c3a7
commit db676bcde0

View File

@ -31,7 +31,7 @@ trust_opts = [
cfg.StrOpt('trustee_domain_admin_id', cfg.StrOpt('trustee_domain_admin_id',
help=_('Id of the admin with roles sufficient to manage users' help=_('Id of the admin with roles sufficient to manage users'
' in the trustee_domain')), ' in the trustee_domain')),
cfg.StrOpt('trustee_domain_admin_password', cfg.StrOpt('trustee_domain_admin_password', secret=True,
help=_('Password of trustee_domain_admin')), help=_('Password of trustee_domain_admin')),
cfg.ListOpt('roles', cfg.ListOpt('roles',
default=[], default=[],