Definition
What it is
Vault is not "an encrypted key-value store". It is a policy-enforcing gatekeeper for secrets. Every read is authenticated, authorized by policy, audited. Every secret can be rotated, versioned and leased. Backends (KV, PKI, AWS, databases, transit, SSH) provide different shapes of secret — static, dynamic, cryptography-as-a-service — all behind the same API.
Why it matters
A leaked AWS key is a $100K bill. A leaked database password is a breach. A leaked JWT signing key is account takeover. Vault makes leaking harder: secrets are never in code, access is audited, rotation is scheduled, and dynamic secrets expire in hours, not years.
Vault vs sealed-secrets vs AWS Secrets Manager
Aspect | Vault | Sealed-secrets | AWS Secrets Manager |
|---|---|---|---|
Self-hosted or HCP | In-cluster controller | Managed | |
Dynamic secrets | Yes (DB, AWS, PKI) | No | Limited |
Rotation | Built-in | Manual | Built-in |
Cloud lock-in | None | Kubernetes-only | AWS-only |
Seal / unseal flow
graph LR S[Vault sealed] --> U[Submit unseal keys] U --> M[Master key in memory] M --> R[Read secrets allowed] M --> S2[Re-seal on shutdown] style R fill:#E8F5E9
How to use it well
Vault that ages well
Auto-unseal via cloud KMS
Manual unseal requires 3 of 5 key holders. KMS auto-unseal removes the bottleneck.
Dynamic secrets over static
Prefer database / AWS dynamic secrets that expire in hours over KV static secrets.
Least privilege policies
One policy per service account, not one policy for everything.
Audit device always on
File or syslog device; every access is logged. Without it, compliance is impossible.
Versioned KV
Enable KV v2 for secret versioning and rollback.
Common failures
Origin
Vault secures, stores, and tightly controls access to tokens, passwords, certificates, and encryption keys for protecting secrets and other sensitive data.
— HashiCorp, *Vault Documentation*, 2024
Evidence
FAQ
- What is sealing?
Vault starts sealed. It cannot read its own storage until unsealed by M of N key holders (Shamir) or by an auto-unseal mechanism (KMS).
- Vault vs OpenBao?
OpenBao is a fork of Vault created after HashiCorp moved Vault to BSL in August 2023. It is governed by the Linux Foundation and remains under MPL 2.0.
- What are dynamic secrets?
Credentials generated on demand: DB users, AWS keys, PKI certificates. They expire automatically.
- Which backends matter most?
KV v2 (static secrets), PKI (internal CA), database (dynamic DB creds), AWS (dynamic IAM), transit (encryption-as-a-service).
Connections
- secrets-management
- openbao
- keycloak
- iam
- oauth2
● broader ● narrower ● related
Broader
secrets-managementsecurity
Related
secrets-managementopenbaokeycloakiamoauth2
Used in the garden
- 10 Banned Websites That Will Blow Your Mind (2026 Edition) (1×)
- Domain Portfolio Mastery: Tools, Scripts & Strategies for the Astute Investor (1×)
- 10 Banned Websites That Hide the Truth (2026 Investigation) (1×)
- Community-Led Growth: The Unfair Advantage for Bootstrapped SaaS (1×)
Sources
HashiCorp (2024). Vault Documentation. https://developer.hashicorp.com/vault/docs
HashiCorp (2024). Vault Architecture. https://developer.hashicorp.com/vault/docs/internals/architecture
OpenBao (2024). OpenBao Documentation. https://openbao.org/docs/
Etymology
Origin: borrowed
vault(noun): from Old French voute, "arched roof"; a secure chamber
Semantic network
● broader ● narrower ● related
Broader
secrets-managementsecurity
Related
secrets-managementopenbaokeycloakiamoauth2
Used in the garden
- 10 Banned Websites That Will Blow Your Mind (2026 Edition) (1×)
- Domain Portfolio Mastery: Tools, Scripts & Strategies for the Astute Investor (1×)
- 10 Banned Websites That Hide the Truth (2026 Investigation) (1×)
- Community-Led Growth: The Unfair Advantage for Bootstrapped SaaS (1×)
Sources
HashiCorp (2024). Vault Documentation. https://developer.hashicorp.com/vault/docs
HashiCorp (2024). Vault Architecture. https://developer.hashicorp.com/vault/docs/internals/architecture
OpenBao (2024). OpenBao Documentation. https://openbao.org/docs/