Make transport_url config option secret
The transport_url may contain credentials to the message queue; For this reason, this option should be secret for it to not leak into the logs. Closes-Bug: #1567233 Change-Id: I49c641a2662976d7220e4222e3c4a4d2586b1336
This commit is contained in:
parent
3728ccc831
commit
cbaf71edfa
@ -40,6 +40,7 @@ _notifier_opts = [
|
||||
cfg.StrOpt('transport_url',
|
||||
deprecated_name='notification_transport_url',
|
||||
deprecated_group='DEFAULT',
|
||||
secret=True,
|
||||
help='A URL representing the messaging driver to use for '
|
||||
'notifications. If not set, we fall back to the same '
|
||||
'configuration used for RPC.'),
|
||||
|
@ -37,6 +37,7 @@ from oslo_messaging import exceptions
|
||||
|
||||
_transport_opts = [
|
||||
cfg.StrOpt('transport_url',
|
||||
secret=True,
|
||||
help='A URL representing the messaging driver to use and its '
|
||||
'full configuration. If not set, we fall back to the '
|
||||
'rpc_backend option and driver specific configuration.'),
|
||||
|
Loading…
Reference in New Issue
Block a user