From ad67ad39064c2f3243637b38d11d609b83e87cb7 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 20 Mar 2023 18:27:16 +0900 Subject: [PATCH] [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: I30e796a81fe0bb58023b98ffd10f7db269518ac5 --- vitrage/coordination/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vitrage/coordination/__init__.py b/vitrage/coordination/__init__.py index a71b3a04c..8a4c560bb 100644 --- a/vitrage/coordination/__init__.py +++ b/vitrage/coordination/__init__.py @@ -16,6 +16,7 @@ from oslo_config import cfg OPTS = [ cfg.StrOpt('backend_url', + secret=True, help='The backend URL to use for the coordination service. If ' 'left empty, membership api will not work') ]