Skip to main content

vault-unseal

A sidecar container that automatically unseals Vault whenever its pod starts, eliminating the need for manual vault unseal commands after pod restarts, node maintenance, or cluster failures. It polls until Vault is reachable, checks the seal status, and unseals using a key file provisioned by an init container, Kubernetes Secret, or persistent volume.

Environment Variables

VariableRequiredDefaultDescription
VAULT_UNSEAL_KEYYesPath to the file containing the Vault unseal key
VAULT_ADDRNoVault API address (e.g. http://127.0.0.1:8200)
CONTINUOUSNoIf set, keep running and re-unseal if Vault becomes sealed again