From 16939ca192c0e3d8e8806df290efff0cdf8de8e8 Mon Sep 17 00:00:00 2001 From: Shireesh Anjal <355479+anjalshireesh@users.noreply.github.com> Date: Wed, 16 Feb 2022 22:10:34 +0530 Subject: [PATCH] Mark SUBNET credentials as sensitive (#14320) So that they are redacted in the health report --- internal/config/subnet/api-key.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/config/subnet/api-key.go b/internal/config/subnet/api-key.go index 4a6cef309..8afddc32d 100644 --- a/internal/config/subnet/api-key.go +++ b/internal/config/subnet/api-key.go @@ -48,18 +48,21 @@ var ( Type: "string", Description: "[DEPRECATED use api_key] Subnet license token for the cluster", Optional: true, + Sensitive: true, }, config.HelpKV{ Key: config.APIKey, Type: "string", Description: "Subnet api key for the cluster", Optional: true, + Sensitive: true, }, config.HelpKV{ Key: config.Proxy, Type: "string", Description: "HTTP(S) proxy URL to use for connecting to SUBNET", Optional: true, + Sensitive: true, }, } )