diff --git a/cmd/config-current.go b/cmd/config-current.go index e5daa847c..24b4b9d71 100644 --- a/cmd/config-current.go +++ b/cmd/config-current.go @@ -101,7 +101,7 @@ func initHelp() { config.HelpKV{ Key: config.SubnetSubSys, Type: "string", - Description: "register the cluster to MinIO SUBNET", + Description: "register Enterprise license for the cluster", Optional: true, }, config.HelpKV{ diff --git a/docs/sts/web-identity.md b/docs/sts/web-identity.md index 44ff0dcd0..6aacbeb10 100644 --- a/docs/sts/web-identity.md +++ b/docs/sts/web-identity.md @@ -31,8 +31,6 @@ MINIO_IDENTITY_OPENID_CLAIM_USERINFO (on|off) Enable fetching claims f MINIO_IDENTITY_OPENID_KEYCLOAK_REALM (string) Specify Keycloak 'realm' name, only honored if vendor was set to 'keycloak' as value, if no realm is specified 'master' is default MINIO_IDENTITY_OPENID_KEYCLOAK_ADMIN_URL (string) Specify Keycloak 'admin' REST API endpoint e.g. http://localhost:8080/auth/admin/ MINIO_IDENTITY_OPENID_REDIRECT_URI_DYNAMIC (on|off) Enable 'Host' header based dynamic redirect URI (default: 'off') -MINIO_IDENTITY_OPENID_CLAIM_PREFIX (string) [DEPRECATED use 'claim_name'] JWT claim namespace prefix e.g. "customer1/" -MINIO_IDENTITY_OPENID_REDIRECT_URI (string) [DEPRECATED use env 'MINIO_BROWSER_REDIRECT_URL'] Configure custom redirect_uri for OpenID login flow callback MINIO_IDENTITY_OPENID_COMMENT (sentence) optionally add a comment to this setting ``` diff --git a/internal/config/identity/openid/openid.go b/internal/config/identity/openid/openid.go index 8f40c96b5..f9076fdf6 100644 --- a/internal/config/identity/openid/openid.go +++ b/internal/config/identity/openid/openid.go @@ -101,12 +101,14 @@ var ( Value: "", }, config.KV{ - Key: ClaimPrefix, - Value: "", + Key: ClaimPrefix, + Value: "", + HiddenIfEmpty: true, }, config.KV{ - Key: RedirectURI, - Value: "", + Key: RedirectURI, + Value: "", + HiddenIfEmpty: true, }, config.KV{ Key: RedirectURIDynamic, diff --git a/internal/config/notify/parse.go b/internal/config/notify/parse.go index 9ee9c0b7f..75091a67c 100644 --- a/internal/config/notify/parse.go +++ b/internal/config/notify/parse.go @@ -861,20 +861,24 @@ var ( Value: config.EnableOff, }, config.KV{ - Key: target.NATSStreaming, - Value: config.EnableOff, + Key: target.NATSStreaming, + Value: config.EnableOff, + HiddenIfEmpty: true, }, config.KV{ - Key: target.NATSStreamingAsync, - Value: config.EnableOff, + Key: target.NATSStreamingAsync, + Value: config.EnableOff, + HiddenIfEmpty: true, }, config.KV{ - Key: target.NATSStreamingMaxPubAcksInFlight, - Value: "0", + Key: target.NATSStreamingMaxPubAcksInFlight, + Value: "0", + HiddenIfEmpty: true, }, config.KV{ - Key: target.NATSStreamingClusterID, - Value: "", + Key: target.NATSStreamingClusterID, + Value: "", + HiddenIfEmpty: true, }, config.KV{ Key: target.NATSQueueDir, diff --git a/internal/config/policy/opa/config.go b/internal/config/policy/opa/config.go index e5c9269a7..2b5d0298f 100644 --- a/internal/config/policy/opa/config.go +++ b/internal/config/policy/opa/config.go @@ -42,12 +42,14 @@ const ( var ( DefaultKVS = config.KVS{ config.KV{ - Key: URL, - Value: "", + Key: URL, + Value: "", + HiddenIfEmpty: true, }, config.KV{ - Key: AuthToken, - Value: "", + Key: AuthToken, + Value: "", + HiddenIfEmpty: true, }, } ) diff --git a/internal/config/subnet/help.go b/internal/config/subnet/help.go index f16713f33..da4451d5d 100644 --- a/internal/config/subnet/help.go +++ b/internal/config/subnet/help.go @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2021 MinIO, Inc. +// Copyright (c) 2015-2024 MinIO, Inc. // // This file is part of MinIO Object Storage stack // @@ -27,23 +27,23 @@ var ( // HelpSubnet - provides help for subnet api key config HelpSubnet = config.HelpKVS{ config.HelpKV{ - Key: config.License, // Deprecated Dec 2021 + Key: config.License, Type: "string", - Description: "[DEPRECATED use api_key] Subnet license token for the cluster" + defaultHelpPostfix(config.License), + Description: "Enterprise license 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), + Description: "Enterprise license 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), + Description: "HTTP(s) proxy URL to use for connecting to SUBNET" + defaultHelpPostfix(config.Proxy), Optional: true, Sensitive: true, },