You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is expected that when using MINIO_KMS_SECRET_KEY or MINIO_KMS_SECRET_KEY_FILE:
There will be no error when opening /kms/status in WebUI (Monitoring -> Encryption)
That the key creation button in /kms/keys in WebUI (Encryption) will be inactive with the message Unavailable due to static key usage.
Current Behavior
The /kms/status tab in the WebUI (Monitoring -> Encryption) displays the error We encountered an internal error, please try again. (requested functionality is not supported) (probably a problem on the backend side)
The Create Key button in the /kms/keys tab of the WebUI (Encryption) is active, but when trying to create a key an error We encountered an internal error, please try again. (requested functionality is not supported)
Part of logs, when opening the /kms/status tab in WebUI (Monitoring -> Encryption)
On the backend side, do not return an error for /api/v1/kms/apis if a static key is used, but return an empty response (or any other response reflecting the static keys used), which will be correctly handled by the frontend
On the backend side, disable key creation via /api/v1/kms/keys, and make the button inactive in the frontend
Steps to Reproduce (for bugs)
Deploy MinIO (for example via docker-compose) with MINIO_KMS_SECRET_KEY variable
Context
It is expected that there will be no backend 500 error when using static keys, and that unnecessary and unworkable (which is correct) encryption key creation functionality will not be available to the end user
Regression
Is this issue a regression? No
Your Environment
Version used (minio --version): RELEASE.2025-02-28T09-55-16Z (go1.23.6 linux/amd64)
We need replicate and have a better way to log the issue on the backend so we can debug better.
On the UI we need(possibly) to disable this if the values are set as env variables.
Still needs more analysis.
Expected Behavior
It is expected that when using MINIO_KMS_SECRET_KEY or MINIO_KMS_SECRET_KEY_FILE:
Unavailable due to static key usage
.Current Behavior
The /kms/status tab in the WebUI (Monitoring -> Encryption) displays the error
We encountered an internal error, please try again. (requested functionality is not supported)
(probably a problem on the backend side)The
Create Key
button in the /kms/keys tab of the WebUI (Encryption) is active, but when trying to create a key an errorWe encountered an internal error, please try again. (requested functionality is not supported)
Part of logs, when opening the /kms/status tab in WebUI (Monitoring -> Encryption)
Possible Solution
Steps to Reproduce (for bugs)
Deploy MinIO (for example via docker-compose) with MINIO_KMS_SECRET_KEY variable
Context
It is expected that there will be no backend 500 error when using static keys, and that unnecessary and unworkable (which is correct) encryption key creation functionality will not be available to the end user
Regression
Is this issue a regression? No
Your Environment
Version used (
minio --version
):RELEASE.2025-02-28T09-55-16Z (go1.23.6 linux/amd64)
Server setup and configuration:
compose.yaml
Operating System and version (
uname -a
):Linux node1 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 Linux
The text was updated successfully, but these errors were encountered: