Merge "Storage URIs should be secret"

This commit is contained in:
Zuul 2024-01-11 08:15:49 +00:00 committed by Gerrit Code Review
commit a603cb4df7
6 changed files with 10 additions and 2 deletions

View File

@ -67,6 +67,7 @@ ssl_ca_certs = cfg.StrOpt(
uri = cfg.StrOpt(
'uri',
secret=True,
deprecated_opts=[cfg.DeprecatedOpt(
'uri',
group=_deprecated_group), ],

View File

@ -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), ],

View File

@ -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), ],

View File

@ -67,6 +67,7 @@ ssl_ca_certs = cfg.StrOpt(
uri = cfg.StrOpt(
'uri',
secret=True,
deprecated_opts=[cfg.DeprecatedOpt(
'uri',
group=_deprecated_group), ],

View File

@ -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), ],

View File

@ -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.")