Merge "Add secret options that shouldn't log plaintext"

This commit is contained in:
Jenkins 2016-09-08 14:04:15 +00:00 committed by Gerrit Code Review
commit 3413adcc06
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',