Mark stack_domain_admin_password as a secret option

Add secret=True to option stack_domain_admin_password,
so that will avoid logging this option in engine.log.

Closes-Bug: #1392162
Change-Id: I04071f37a0053b969dc31a69e62ba9abb075c590
This commit is contained in:
Ethan Lynn 2014-11-13 12:46:39 +08:00
parent bf437d3372
commit 0307d02677
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ opts = [
help="Keystone username with roles sufficient to manage users"
" and projects in the stack-user-domain"),
cfg.StrOpt('stack-domain-admin-password',
secret=True,
help="Password to set for stack-domain-admin"),
cfg.BoolOpt('insecure',
default=False,

View File

@ -71,6 +71,7 @@ service_opts = [
help=_('Keystone username, a user with roles sufficient to '
'manage users and projects in the stack_user_domain.')),
cfg.StrOpt('stack_domain_admin_password',
secret=True,
help=_('Keystone password for stack_domain_admin user.')),
cfg.IntOpt('max_template_size',
default=524288,