[DEFAULT] periodic_coordinator_backend_url should be secret

This 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.

[DEFAULT]
periodic_coordinator_backend_url=redis://:password@127.0.0.1:6379

Change-Id: I09040b54f6e2ee4f0e71c601400b601b5de19780
This commit is contained in:
Takashi Kajinami 2023-03-20 21:14:07 +09:00
parent 82885e6229
commit d7f0c8b299
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ periodic_opts = [
'will be deleted automatically. (0 value means that '
'automatic clean up is disabled).'),
cfg.StrOpt('periodic_coordinator_backend_url',
secret=True,
help='The backend URL to use for distributed periodic tasks '
'coordination.'),
cfg.IntOpt('periodic_workers_number',