Files
seaweedfs/weed/kms
Tiago PosseandClaude Opus 5.5 90aae21e6b kms/local: read key_material from ${ENV} references (#13434)
A local KMS key's key_material can now be written as ${NAME}, so the key
can come from a Kubernetes Secret, or any secret store that hands it to the
process as an environment variable, instead of sitting in the config file.
This works in the S3 JSON config and in filer.toml.

A reference to a variable that is unset or empty, or one that isn't written
as ${NAME}, fails the load with an error that leaves the reference and the
material out. The expansion is the one static S3 credentials already use,
moved to weed/util so both share it.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 11:08:32 -08:00
..