Andreas Auernhammer faeb2b7e79
use GenerateKey as more reliable KMS health-check (#19404)
This commit replaces the `KMS.Stat` API call with a
`KMS.GenerateKey` call. This approach is more reliable
since data key generation also works when the KMS backend
is unavailable (temp. offline), but KES has cached the
key. Ref: KES offline caching.

With this change, it is less likely that MinIO readiness
checks fail in cases where the KMS backend is offline.

Signed-off-by: Andreas Auernhammer <github@aead.dev>
2024-04-03 14:13:20 -07:00
..
2024-01-17 23:03:17 -08:00
2024-01-17 23:03:17 -08:00
2023-09-04 12:57:37 -07:00
2024-01-17 23:03:17 -08:00
2023-12-20 20:13:40 -08:00
2024-03-10 01:15:15 -08:00
2024-01-17 23:03:17 -08:00