[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

Closes-Bug: #2012246
Change-Id: I9b61dd459445e0d32a305835fb05a072c32848a4
This commit is contained in:
Takashi Kajinami 2023-03-20 18:19:59 +09:00
parent c23ec3b30f
commit 9b47161121
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ def list_opts():
('coordination', [
cfg.StrOpt(
'backend_url',
secret=True,
help='The backend URL to use for distributed coordination. If '
'left empty, per-deployment central agent and per-host '
'compute agent won\'t do workload '