From 623949bfae11cfe4c569253c30bb4f5e16a95815 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 22 Apr 2024 15:29:00 +0900 Subject: [PATCH] Ensure [molds] password is not logged The [molds] password option accepts a secret value apparently. So its value should not appear in debug logs. Change-Id: If8a54c1d4f74516f1c24f7286e76955b2e424f5c --- ironic/conf/molds.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ironic/conf/molds.py b/ironic/conf/molds.py index 53724598ea..6fefb2b886 100644 --- a/ironic/conf/molds.py +++ b/ironic/conf/molds.py @@ -24,6 +24,7 @@ opts = [ cfg.StrOpt('user', help=_('User for "http" Basic auth. By default set empty.')), cfg.StrOpt('password', + secret=True, help=_('Password for "http" Basic auth. By default set ' 'empty.')), cfg.IntOpt('retry_attempts',