From ee0e4be91ea6010bebed3a63e531f24063dcfa4c Mon Sep 17 00:00:00 2001 From: Michael J Fork Date: Thu, 28 Mar 2013 03:09:58 +0000 Subject: Mark sql connection with secret flag sql connection parameter contains the password in some setups and marking as secret prevents accidental logging fixes bug 1160680 Change-Id: I093d9c6556197ec25cb63bf16bcc90bb9679fed0 --- keystone/common/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keystone/common/config.py b/keystone/common/config.py index bcfc347c..a96c814e 100644 --- a/keystone/common/config.py +++ b/keystone/common/config.py @@ -235,7 +235,8 @@ def configure(): register_str('ca_password', group='signing', default=None) # sql - register_str('connection', group='sql', default='sqlite:///keystone.db') + register_str('connection', group='sql', secret=True, + default='sqlite:///keystone.db') register_int('idle_timeout', group='sql', default=200) register_str( -- cgit