summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2023-02-20 14:08:41 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2023-02-20 07:37:46 +0000
commit8f7d01216ad00feda86135d72125640df611f3c0 (patch)
tree1d7bdb2fc96d9ce10d29501d5ae8e3a3a885c926
parent7a62e826a402de29b6a929569dab27adb3259975 (diff)
downloadtrove-8f7d01216ad00feda86135d72125640df611f3c0.tar.gz
container_registry_password should be secret
The [guest_agent] container_registry_password option takes a credential to access a container registry, thus its value should be hidden from debug logs. Story: 2010594 Task: 47456 Change-Id: I8f595fff616606a96e70d1712a3a2e65c85b3476
-rw-r--r--trove/common/cfg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/trove/common/cfg.py b/trove/common/cfg.py
index 54dc4961..527c4866 100644
--- a/trove/common/cfg.py
+++ b/trove/common/cfg.py
@@ -1536,7 +1536,8 @@ guest_agent_opts = [
),
cfg.StrOpt(
'container_registry_password',
- help='The plaintext registry password.'
+ help='The plaintext registry password.',
+ secret=True,
),
]