[coordination] backend_url should be secret
The backend_url option can sometimes contain secrets. For example when redis coordination backend is used and authentication is enabled in redis, the plain redis password is put as an URL element. [coordination] backend_url=redis://:password@127.0.0.1:6379 Change-Id: I30e796a81fe0bb58023b98ffd10f7db269518ac5
This commit is contained in:
parent
5cfaf80278
commit
ad67ad3906
@ -16,6 +16,7 @@ from oslo_config import cfg
|
|||||||
|
|
||||||
OPTS = [
|
OPTS = [
|
||||||
cfg.StrOpt('backend_url',
|
cfg.StrOpt('backend_url',
|
||||||
|
secret=True,
|
||||||
help='The backend URL to use for the coordination service. If '
|
help='The backend URL to use for the coordination service. If '
|
||||||
'left empty, membership api will not work')
|
'left empty, membership api will not work')
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user