Skip to content

Commit 3d3ad65

Browse files
committed
[ngs_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 Change-Id: I3b450b0a77080c3489636f753943c70167d4b90b
1 parent 02b370b commit 3d3ad65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

networking_generic_switch/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
coordination_opts = [
2222
cfg.StrOpt('backend_url',
23+
secret=True,
2324
help='The backend URL to use for distributed coordination.'),
2425
cfg.IntOpt('acquire_timeout',
2526
min=0,

0 commit comments

Comments
 (0)