Merge "Storage URIs should be secret"
This commit is contained in:
commit
a603cb4df7
@ -67,6 +67,7 @@ ssl_ca_certs = cfg.StrOpt(
|
||||
|
||||
uri = cfg.StrOpt(
|
||||
'uri',
|
||||
secret=True,
|
||||
deprecated_opts=[cfg.DeprecatedOpt(
|
||||
'uri',
|
||||
group=_deprecated_group), ],
|
||||
|
@ -18,6 +18,7 @@ _deprecated_group = 'drivers:storage:redis'
|
||||
|
||||
uri = cfg.StrOpt(
|
||||
'uri', default="redis://127.0.0.1:6379",
|
||||
secret=True,
|
||||
deprecated_opts=[cfg.DeprecatedOpt(
|
||||
'uri',
|
||||
group=_deprecated_group), ],
|
||||
|
@ -17,7 +17,9 @@ from oslo_config import cfg
|
||||
_deprecated_group = 'drivers:storage:sqlalchemy'
|
||||
|
||||
uri = cfg.StrOpt(
|
||||
'uri', default='sqlite:///:memory:',
|
||||
'uri',
|
||||
default='sqlite:///:memory:',
|
||||
secret=True,
|
||||
deprecated_opts=[cfg.DeprecatedOpt(
|
||||
'uri',
|
||||
group=_deprecated_group), ],
|
||||
|
@ -67,6 +67,7 @@ ssl_ca_certs = cfg.StrOpt(
|
||||
|
||||
uri = cfg.StrOpt(
|
||||
'uri',
|
||||
secret=True,
|
||||
deprecated_opts=[cfg.DeprecatedOpt(
|
||||
'uri',
|
||||
group=_deprecated_group), ],
|
||||
|
@ -17,7 +17,9 @@ _deprecated_group = 'drivers:storage:redis'
|
||||
|
||||
|
||||
uri = cfg.StrOpt(
|
||||
'uri', default="redis://127.0.0.1:6379",
|
||||
'uri',
|
||||
default="redis://127.0.0.1:6379",
|
||||
secret=True,
|
||||
deprecated_opts=[cfg.DeprecatedOpt(
|
||||
'uri',
|
||||
group=_deprecated_group), ],
|
||||
|
@ -21,6 +21,7 @@ auth_url = cfg.StrOpt(
|
||||
uri = cfg.StrOpt(
|
||||
"uri",
|
||||
default="swift://demo:nomoresecrete@/demo",
|
||||
secret=True,
|
||||
help="Custom URI describing the swift connection.")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user