From 0307d0267713ed18309ecea5359f002d388eaf34 Mon Sep 17 00:00:00 2001 From: Ethan Lynn Date: Thu, 13 Nov 2014 12:46:39 +0800 Subject: [PATCH] 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 --- bin/heat-keystone-setup-domain | 1 + heat/common/config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/heat-keystone-setup-domain b/bin/heat-keystone-setup-domain index cbef823ee..443865cb5 100755 --- a/bin/heat-keystone-setup-domain +++ b/bin/heat-keystone-setup-domain @@ -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, diff --git a/heat/common/config.py b/heat/common/config.py index d700240c6..6902e8c74 100644 --- a/heat/common/config.py +++ b/heat/common/config.py @@ -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,