[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: Ib918532d82c4633add7fad9c8441868cfd84001b
(cherry picked from commit 1eb2a7ac86
)
This commit is contained in:
parent
ecbbd3078e
commit
31b518d838
@ -28,6 +28,7 @@ LOG = log.getLogger(__name__)
|
||||
|
||||
OPTS = [
|
||||
cfg.StrOpt('backend_url',
|
||||
secret=True,
|
||||
help='The backend URL to use for distributed coordination. If '
|
||||
'left empty, alarm evaluation won\'t do workload '
|
||||
'partitioning and will only function correctly if a '
|
||||
|
Loading…
Reference in New Issue
Block a user