From 9b4716112132e9b8f1b279dbb28c8da90e728c41 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 20 Mar 2023 18:19:59 +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 Closes-Bug: #2012246 Change-Id: I9b61dd459445e0d32a305835fb05a072c32848a4 --- ceilometer/opts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ceilometer/opts.py b/ceilometer/opts.py index 1c7c2d9753..4f6857dde4 100644 --- a/ceilometer/opts.py +++ b/ceilometer/opts.py @@ -79,6 +79,7 @@ def list_opts(): ('coordination', [ cfg.StrOpt( 'backend_url', + secret=True, help='The backend URL to use for distributed coordination. If ' 'left empty, per-deployment central agent and per-host ' 'compute agent won\'t do workload '