From 4532daf96a7e58684ac492bd58194d249a819faf Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 20 Mar 2023 18:24:30 +0900 Subject: [PATCH] redis_url should be secret The redis_url option can contain password string in case authentication is enabled in Redis, thus its value should be hidden in log output. (cherry picked from commit 31cb2a9d5d4cec8c16a081851f983ce7bb1d8b53) --- gnocchi/common/redis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gnocchi/common/redis.py b/gnocchi/common/redis.py index c0bf6e82b..88df5787b 100644 --- a/gnocchi/common/redis.py +++ b/gnocchi/common/redis.py @@ -70,6 +70,7 @@ OPTS = [ cfg.StrOpt('redis_url', + secret=True, default='redis://localhost:6379/', help="""Redis URL