Proxy between a Talos node and a Hashicorp Vault instance to enable KMS disk encryption. This project is a proof of concept.
Warning
This repository is a proof of concept, for a production ready repository see https://github.com/SoulKyu/talos-kms-vault
The Vault client uses the environment variables to configure itself, VAULT_ADDR and VAULT_TOKEN should be used.
The token needs to use a policy that allows the update capability to :transit-path/encrypt/+ and :transit-path/decrypt/+.
- Talos Node's ID seems to be a UUID, if that's always the case implement a validation on the
Seal/Unsealmethods. - Dynamic vault authentication (don't use a static token and try to use the right method for the current context)
- Maybe transform this into a Vault plugin.
- KMS client and server example - https://github.com/siderolabs/kms-client