mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Redact sensitive values from config in health data (#12421)
The health api returns the server configuration details. Redact sensitive values from the config values like URLs and credentials.
This commit is contained in:
@@ -26,6 +26,7 @@ var (
|
||||
Key: Endpoints,
|
||||
Description: `comma separated list of etcd endpoints e.g. "http://localhost:2379"`,
|
||||
Type: "csv",
|
||||
Sensitive: true,
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: PathPrefix,
|
||||
@@ -44,12 +45,14 @@ var (
|
||||
Description: `client cert for mTLS authentication`,
|
||||
Optional: true,
|
||||
Type: "path",
|
||||
Sensitive: true,
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: ClientCertKey,
|
||||
Description: `client cert key for mTLS authentication`,
|
||||
Optional: true,
|
||||
Type: "path",
|
||||
Sensitive: true,
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: config.Comment,
|
||||
|
||||
Reference in New Issue
Block a user