[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: I0ee95fc56130e51bf5c799d252e79a469492b7db (cherry picked from commit541395c424
) (cherry picked from commitbda31ec62c
) (cherry picked from commitbe775801e3
) (cherry picked from commitf1981d057f
)
This commit is contained in:
parent
8e8fed0839
commit
81f3475971
|
@ -25,6 +25,7 @@ COORDINATION_GROUP = cfg.OptGroup(
|
|||
COORDINATION_OPTS = [
|
||||
cfg.StrOpt(
|
||||
'backend_url',
|
||||
secret=True,
|
||||
help=(
|
||||
'The backend URL to use for distributed coordination. If '
|
||||
'unset services that need coordination will function as '
|
||||
|
|
Loading…
Reference in New Issue