-
Notifications
You must be signed in to change notification settings - Fork 465
Closed
Labels
Description
In Web UI, when configuring minio setting only the MINIO_KMS_SECRET_KEY, the Encryption section tries to perform /metrics, /apis and /version API requests but since the static key has no version nor metrics nor list apis, they return 500 error.
Expected Behavior
No error
Current Behavior
Possible Solution
In server add api to validate if MINIO_KMS_SECRET_KEY is set, if so don't enable the APIs and Metrics section and not perform the /metrics, /apis nor /version requests.
Steps to Reproduce (for bugs)
-
export MINIO_KMS_SECRET_KEY=my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
-
Run MinIO like
MINIO_STS_DURATION=17m ./minio server ~/Data
- Go to Monitoring/Encryption (Error happens here.)
Context
Regression
Your Environment
- MinIO version used (
minio --version
): RELEASE.2024-01-16T16-07-38Z