From 6d22e74d11c1dbc4c569af579357ae57452a51d5 Mon Sep 17 00:00:00 2001 From: Shireesh Anjal <355479+anjalshireesh@users.noreply.github.com> Date: Fri, 28 Oct 2022 23:24:44 +0530 Subject: [PATCH] mark SUBNET config keys as sensitive info (#15962) --- internal/config/subnet/help.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/config/subnet/help.go b/internal/config/subnet/help.go index fbf692afb..f16713f33 100644 --- a/internal/config/subnet/help.go +++ b/internal/config/subnet/help.go @@ -31,18 +31,21 @@ var ( Type: "string", Description: "[DEPRECATED use api_key] Subnet license token for the cluster" + defaultHelpPostfix(config.License), Optional: true, + Sensitive: true, }, config.HelpKV{ Key: config.APIKey, Type: "string", Description: "Subnet api key for the cluster" + defaultHelpPostfix(config.APIKey), Optional: true, + Sensitive: true, }, config.HelpKV{ Key: config.Proxy, Type: "string", Description: "HTTP(S) proxy URL to use for connecting to SUBNET" + defaultHelpPostfix(config.Proxy), Optional: true, + Sensitive: true, }, } )