Add secret options that shouldn't log plaintext

Change-Id: Ie811098543be43dc0b699392cc0a0aef71c0a81a
This commit is contained in:
Isaac Mungai 2016-09-06 15:45:11 -04:00
parent 12188071bc
commit 401ca7230e
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ CASSANDRA_OPTIONS = [
cfg.BoolOpt('auth_enabled', default=False,
help='Does Cassandra have authentication enabled?'),
cfg.StrOpt('username', default='', help='Cassandra username'),
cfg.StrOpt('password', default='', help='Cassandra password'),
cfg.StrOpt('password', default='', secret=True, help='Cassandra password'),
cfg.StrOpt('load_balance_strategy', default='RoundRobinPolicy',
help='Load balancing strategy for connecting to cluster nodes'),
cfg.StrOpt('consistency_level', default='ONE',

View File

@ -46,7 +46,7 @@ CASSANDRA_OPTIONS = [
cfg.BoolOpt('auth_enabled', default=False,
help='Does Cassandra have authentication enabled?'),
cfg.StrOpt('username', default='', help='Cassandra username'),
cfg.StrOpt('password', default='', help='Cassandra password'),
cfg.StrOpt('password', default='', secret=True, help='Cassandra password'),
cfg.StrOpt('load_balance_strategy', default='RoundRobinPolicy',
help='Load balancing strategy for connecting to cluster nodes'),
cfg.StrOpt('consistency_level', default='ONE',