A simple program that checks a HashiCorp Vault status and supplies a key portion if sealed.
On Docker:
docker run -e KEY=1234 -e VAULT_ADDR=http://localhost:8200 nnari/unseald
unseald looks at the following environment variables:
- KEY - The key to unseal with. If you want to provide multiple unseal keys, you can separate them with commas.
- VAULT_ADDR - Vault address. Also to target multiple Vaults, you can separate with commas.
- INTERVAL - Defaults to 5, how often to check
/v1/sys/health