Mark SUBNET credentials as sensitive (#14320)

So that they are redacted in the health report
This commit is contained in:
Shireesh Anjal 2022-02-16 22:10:34 +05:30 committed by GitHub
parent 60cd513a33
commit 16939ca192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
},
}
)