Why Vault is powerful, and why teams leave
Vault issues dynamic secrets (a fresh database user per service, revoked automatically), runs a PKI for internal certificates, offers transit encryption so apps never hold keys, and enforces fine-grained policies. The price is operations: a highly available cluster, unsealing, upgrades, and people who understand its policy model. HCP Vault removes the infrastructure part, not the configuration knowledge.
Vault alternatives at a glance
| Tool | Model | Self-host | Dynamic secrets | Best for |
|---|---|---|---|---|
| OpenBao | open-source Vault fork (MPL 2.0) | yes | yes | keeping Vault's features without the BSL |
| Infisical | open source core, cloud or self-hosted | yes | limited | teams wanting Doppler-like UX with data control |
| Doppler | SaaS | no | no | zero ops, fast onboarding |
| AWS Secrets Manager / Parameter Store | AWS service | managed | via IAM roles; RDS rotation built in | AWS-native stacks |
| Google Secret Manager | GCP service | managed | via workload identity | GCP-native stacks |
| Azure Key Vault | Azure service | managed | via managed identities | Azure-native stacks, also keys & certificates |
| 1Password Secrets Automation | password-manager based | no | no | teams already on 1Password |
| SOPS + age/KMS | encrypted files in git | n/a | no | GitOps, small teams |
Pricing models differ (per user, per secret, per API call, self-hosted infrastructure); check each vendor's current price page for your expected volume.
The alternatives in detail
OpenBao
Forked from Vault 1.14 when the licence changed, maintained under the Linux Foundation. Same API and CLI concepts (bao instead of vault), same engines. Choose it when the licence is the problem, not the complexity.
Infisical
Dashboard, CLI (infisical run -- npm start), CI and Kubernetes operator, secret versioning and point-in-time recovery. Self-hostable with Docker Compose or Helm, which matters for data residency or air-gapped environments.
Doppler
Hosted only, with the quickest path from .env files: doppler run -- node server.js, integrations for Vercel, GitHub Actions, Kubernetes and clouds. Comparison with plain files: dotenv vs Doppler.
Cloud-native secret stores
Access is controlled with the cloud's IAM, audit logs come from CloudTrail/Cloud Audit Logs/Azure Monitor, and workloads authenticate without static keys. AWS Secrets Manager rotates RDS credentials out of the box; Parameter Store's standard tier is a cheaper home for non-secret config.
When Vault (or OpenBao) is still the right answer
- You rely on dynamic database or cloud credentials per service.
- You run an internal PKI or need transit encryption for application data.
- Multi-cloud or on-premises, where no single cloud's store fits.
- A platform team exists to operate it, or you use HCP Vault.
- Compliance requires FIPS-validated cryptography (Vault Enterprise offers FIPS builds).
Migrating away from Vault
- Inventory: list KV paths (
vault kv list) and which services read them; separate static from dynamic secrets. - Export static secrets per path (
vault kv get -format=json secret/app) and import them into the new store. - Switch consumers one service at a time to the new CLI/SDK; verify with the missing env detector that nothing is left out.
- Replace dynamic credentials with the target's mechanism (IAM roles, scheduled rotation) before cutting over those services.
- Rotate everything once at the end, then decommission Vault.
Still on plain .env files and wondering whether you need any of this? Start with dotenv vs secrets managers.
Frequently asked questions
What is the best open-source alternative to HashiCorp Vault?
OpenBao if you need Vault's features (dynamic secrets, PKI, transit); Infisical if you mainly store application secrets and want a simpler product.
At what team size is Vault worth its complexity?
It's less about size than about needs and people: if you use dynamic secrets or PKI and someone already runs stateful infrastructure, Vault pays off. Otherwise a managed store is usually cheaper overall.
Do Doppler or Infisical support dynamic secrets?
Not to Vault's depth. They're primarily static-secret stores with rotation; Infisical has some dynamic-secret support for databases.
Can I migrate away from Vault gradually?
Yes. Consumers read through their own CLI or SDK, so services can move one at a time. Static secrets migrate cleanly; dynamic ones need a replacement design first.
Does HCP Vault remove the operational burden?
It removes running the cluster (upgrades, HA, unsealing). Designing policies and engines still needs Vault knowledge.