mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Redact all secrets from config viewing APIs (#17380)
This change adds a `Secret` property to `HelpKV` to identify secrets like passwords and auth tokens that should not be revealed by the server in its configuration fetching APIs. Configuration reporting APIs now do not return secrets.
This commit is contained in:
committed by
GitHub
parent
d315d012a4
commit
f3248a4b37
@@ -37,6 +37,7 @@ var (
|
||||
Optional: true,
|
||||
Type: "string",
|
||||
Sensitive: true,
|
||||
Secret: true,
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: config.Comment,
|
||||
|
||||
Reference in New Issue
Block a user