diff options
author | Takashi Kajinami <tkajinam@redhat.com> | 2023-03-20 18:19:59 +0900 |
---|---|---|
committer | Takashi Kajinami <tkajinam@redhat.com> | 2023-03-20 18:36:10 +0900 |
commit | 9b4716112132e9b8f1b279dbb28c8da90e728c41 (patch) | |
tree | 7afe52baa6e66e96789e06efbe5124ff4ea7e629 | |
parent | c23ec3b30f56e60c3020782d074506e2f334078f (diff) | |
download | ceilometer-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.py | 1 |
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 ' |