From: Michael J Fork Date: Thu, 28 Mar 2013 02:58:04 +0000 (+0000) Subject: Mark sql_connection with secret flag X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9f8ee9d2981c5f317139e3743385b59956546d65;p=openstack-build%2Fcinder-build.git Mark sql_connection with secret flag sql_connection contains the password in some setups and marking as secret prevents accidental logging fixes bug 1160680 Change-Id: I3704237d0923bb30138b5ece7e5c7bbda0a78b9b --- diff --git a/cinder/flags.py b/cinder/flags.py index d82e1ca8a..27e5b41b4 100644 --- a/cinder/flags.py +++ b/cinder/flags.py @@ -81,7 +81,8 @@ core_opts = [ cfg.StrOpt('sql_connection', default='sqlite:///$state_path/$sqlite_db', help='The SQLAlchemy connection string used to connect to the ' - 'database'), + 'database', + secret=True), cfg.IntOpt('sql_connection_debug', default=0, help='Verbosity of SQL debugging information. 0=None, '