summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2023-03-20 18:19:59 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2023-03-20 18:36:10 +0900
commit9b4716112132e9b8f1b279dbb28c8da90e728c41 (patch)
tree7afe52baa6e66e96789e06efbe5124ff4ea7e629
parentc23ec3b30f56e60c3020782d074506e2f334078f (diff)
downloadceilometer-9b4716112132e9b8f1b279dbb28c8da90e728c41.tar.gz
[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
-rw-r--r--ceilometer/opts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ceilometer/opts.py b/ceilometer/opts.py
index 1c7c2d97..4f6857dd 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 '