[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:
parent
c23ec3b30f
commit
9b47161121
|
@ -79,6 +79,7 @@ def list_opts():
|
||||||
('coordination', [
|
('coordination', [
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'backend_url',
|
'backend_url',
|
||||||
|
secret=True,
|
||||||
help='The backend URL to use for distributed coordination. If '
|
help='The backend URL to use for distributed coordination. If '
|
||||||
'left empty, per-deployment central agent and per-host '
|
'left empty, per-deployment central agent and per-host '
|
||||||
'compute agent won\'t do workload '
|
'compute agent won\'t do workload '
|
||||||
|
|
Loading…
Reference in New Issue