HashiCorp Vault vs AWS Secrets Manager compared
HashiCorp Vault and AWS Secrets Manager compared: what you operate, cost model, dynamic secrets, rotation, CI access and who decrypts, from both vendors' docs.
Product websitesHashiCorp VaultAWS Secrets Manager
The difference in brief
Vault is a secrets platform you run, or buy as HCP Vault Dedicated, with dynamic secrets, many auth methods and any cloud. AWS Secrets Manager is a managed AWS service billed per secret and per API call, with IAM access and rotation built in. Both decrypt on the server before returning a value.
HashiCorp Vault is the better pick when
- You run on several clouds or on premises and want one secrets platform for all of them.
- You need dynamic database and cloud credentials created on demand and revoked when the lease ends.
- You have, or will staff, people to operate a Vault cluster, or will pay for HCP Vault Dedicated.
AWS Secrets Manager is the better pick when
- Your workloads run on AWS, and IAM roles should decide who reads each secret.
- You want nothing to operate and a bill that grows per secret and per call.
- You want managed rotation for AWS databases and services without writing your own tooling.
Crunu, a third option, fits when
- No server, yours or a cloud's, should be able to decrypt values, and a small team should not have to run a cluster.
Crunu wrote this page and makes this third option.
HashiCorp Vault, AWS Secrets Manager and Crunu, property by property
The same 14 questions we ask of every tool. HashiCorp Vault and AWS Secrets Manager are answered from their own pages; Crunu is shown as a third option in its own column.
- Yes
- documented and available
- Partial
- with limits: on some plans, in preview or by hand
- No
- not offered
- n/a
- doesn’t apply, or isn’t documented publicly
| Property | HashiCorp Vault | AWS Secrets Manager | CrunuThird option | What it changes for you |
|---|---|---|---|---|
| Decrypted only on your devices | HashiCorp VaultNoOn the Vault server: its barrier decrypts data from storage once Vault is unsealed. developer.hashicorp.com · | AWS Secrets ManagerNoSecrets Manager decrypts the value with AWS KMS before returning it to the caller. docs.aws.amazon.com · | CrunuYesValues are encrypted and decrypted only in the browser and the crunu agent. crunu.com/security · | If values are decrypted only on devices you control, a breach of the vendor’s servers doesn’t expose them. |
| Server handles plaintext values | HashiCorp VaultYesThe unsealed server holds the encryption key and decrypts stored data to answer requests. developer.hashicorp.com · | AWS Secrets ManagerYesThe service handles plaintext data keys and values; names and descriptions are not encrypted. docs.aws.amazon.com · | CrunuNoThe server holds no decryption key at any point. It still sees metadata such as names, emails and timestamps. crunu.com/security · | Whoever runs a server that handles plaintext, and anyone who breaks into it, could read what passes through. |
| Runs on your own infrastructure | HashiCorp VaultYesCommunity and Enterprise run self-managed; HCP Vault Dedicated is the managed option. developer.hashicorp.com · | AWS Secrets ManagerNoA managed AWS service that applications call at runtime. docs.aws.amazon.com · | CrunuPartialEnterprise plan only, under a signed agreement: your own server on Docker, Cloudflare Workers, Vercel or Google Cloud Run. crunu.com/self-hosting · | You decide where the data lives and who operates the service. Several tools, Crunu included, offer this only on an enterprise plan. |
| Source code published | HashiCorp VaultPartialVault 1.15 and later uses the Business Source License 1.1; each version converts to MPL 2.0 after four years. github.com · | AWS Secrets ManagerNoA managed AWS service; its source is not published. docs.aws.amazon.com · | CrunuNoSource code is not published. crunu.com/security/threat-model · | Published code can be read and audited by anyone, and kept running if the vendor changes course. |
| CI signs in with OIDC | HashiCorp VaultYesJWT/OIDC auth method with bound claims, usable from CI such as GitHub Actions. developer.hashicorp.com · | AWS Secrets ManagerYesCI jobs assume IAM roles through an OIDC identity provider, such as GitHub Actions. docs.aws.amazon.com · | CrunuYesService tokens bound by OIDC to repository, branch and environment on GitHub Actions, GitLab CI, Bitbucket or any issuer. crunu.com/features/ci-cd · | Pipelines get short-lived access tied to the repository, instead of a long-lived token stored in CI settings. |
| Keys change when someone leaves | HashiCorp Vaultn/aNot applicable: users never hold the storage key; the server decrypts. developer.hashicorp.com · | AWS Secrets Managern/aNot applicable: users never hold the data keys; the service decrypts on request. docs.aws.amazon.com · | CrunuYesRemoving a member rotates the keys of every environment they could read and lists values to reissue. crunu.com/features/offboarding · | When people hold decryption keys, removing access is complete only once those keys are replaced. |
| Separate key per environment | HashiCorp VaultNoOne encryption key protects all Vault data; separation is by policy and path. developer.hashicorp.com · | AWS Secrets ManagerPartialEach secret can use its own customer managed KMS key; separating environments is your setup. docs.aws.amazon.com · | CrunuYesEach environment has its own key, sealed separately to each recipient's public key. crunu.com/features/access-control · | With a key per environment, access to development can’t turn into access to production. |
| Audit log | HashiCorp VaultYesAudit devices record all API requests and responses, with most strings HMAC-hashed by default. developer.hashicorp.com · | AWS Secrets ManagerYesAWS CloudTrail records Secrets Manager API calls; the console shows the last 90 days. docs.aws.amazon.com · | CrunuYesHash-chained organization log with one-click verification and JSONL export, kept 365 days by default. crunu.com/features/audit-log · | A record of who changed or fetched what tells you what a person or machine could have seen. |
| Links for people without an account | HashiCorp VaultPartialResponse wrapping returns a single-use token in place of a secret; there is no web share page. developer.hashicorp.com · | AWS Secrets ManagerNoAccess goes through IAM; no share-link feature is documented. docs.aws.amazon.com · | CrunuYesLinks for people without an account; the key stays in the URL fragment. Expiry, view limit and password. crunu.com/features/access-links · | Contractors and one-off handovers get a value without it staying in chat history. |
| Free plan or free to use | HashiCorp VaultYesCommunity Edition: the license allows production use, except competing hosted offerings. github.com · | AWS Secrets ManagerNoBilled per secret per month and per API call; new AWS accounts get Free Tier credits. aws.amazon.com · | CrunuYesFree during early access. crunu.com/pricing · | A small team can start with real projects before anyone signs a contract. |
| Syncs values into other platforms | HashiCorp VaultYesSecrets sync pushes to external destinations; needs Vault Enterprise or HCP Vault Dedicated. developer.hashicorp.com · | AWS Secrets ManagerNoReplicates secrets across AWS Regions; pushing to other platforms is not documented. docs.aws.amazon.com · | CrunuNoNo built-in sync to other platforms. CI can push values with crunu run as a recipe. crunu.com/integrations · | Pushing values into clouds and CI saves copying by hand, but the syncing service has to read them. |
| Dynamic secrets | HashiCorp VaultYesDatabase and cloud engines generate credentials on demand and revoke them when the lease ends. developer.hashicorp.com · | AWS Secrets ManagerNoRotation replaces stored secrets on a schedule; on-demand credentials are not documented. docs.aws.amazon.com · | CrunuNoNot offered by design: generating credentials on demand needs a key on the server. crunu.com/security/limitations · | Credentials created on demand and revoked after a lease limit how long a leaked one works. |
| SSO and SCIM | HashiCorp VaultYesOIDC and other auth methods for sign-in; SCIM provisioning in Vault Enterprise 2.x. developer.hashicorp.com · | AWS Secrets ManagerYesThrough AWS IAM Identity Center: sign-in with an external identity provider and SCIM provisioning. docs.aws.amazon.com · | CrunuNoNo SSO or SCIM. People sign in with a password, a Secret Key and an optional second factor. crunu.com/features/access-control · | Sign-in and provisioning from your identity provider make joining and leaving one step. |
| Kubernetes integration | HashiCorp VaultYesHelm chart, Vault Secrets Operator, CSI provider and Agent Injector. developer.hashicorp.com · | AWS Secrets ManagerYesAWS Secrets and Configuration Provider for the Kubernetes Secrets Store CSI Driver on EKS. docs.aws.amazon.com · | CrunuNoNo Kubernetes operator, Helm chart or CSI provider. crunu.com/integrations · | An operator or CSI driver delivers values into clusters without custom glue code. |
Comparison in detail
On this page
The main difference between HashiCorp Vault and AWS Secrets Manager is who runs the server. Vault is software you deploy and operate yourself, or buy as the managed HCP Vault Dedicated, and it works the same on any cloud or on premises. AWS Secrets Manager is a managed AWS service: nothing to install, access through IAM, and a bill per secret and per API call. Both encrypt secrets at rest and decrypt them on the server before handing them to an authorized caller.
Vault does far more than store secrets: it generates database and cloud credentials on demand, issues certificates and offers encryption as a service. If you only need to store and rotate secrets for workloads on AWS, that breadth is something you pay for in operations.
Who each one fits
HashiCorp Vault fits teams with workloads across several clouds, data centers or Kubernetes clusters that want one secrets platform for all of them. It fits teams that need dynamic secrets, such as database credentials created per request and revoked when the lease ends, and that have people to run it. HashiCorp is now an IBM company; Vault Community edition is self-managed, and Vault Enterprise is self-managed or available as HCP Vault Dedicated.
AWS Secrets Manager fits teams whose applications run on AWS. Applications replace hard-coded credentials with a runtime call to the service, IAM policies decide who can read each secret, and CloudTrail records the calls. Managed rotation covers many AWS-managed secrets without a Lambda function you maintain.
What you operate, and what it costs
AWS publishes simple arithmetic. The worked examples on its pricing page use $0.40 per secret per month and $0.05 per 10,000 API calls, with each replica in another Region billed as its own secret and secrets stored for less than a month prorated by the hour. New AWS customers get Free Tier credits that can be applied to Secrets Manager. At those rates, 100 secrets read 3,000 times a day in total come to about $40 a month, and nobody is on call for the service.
Vault Community costs nothing to license for most uses: its license allows production use except for competing hosted offerings. The cost is the work. A Vault server starts sealed, and in the default configuration operators must enter a threshold of key shares to unseal each node after a restart; HashiCorp's own documentation calls unsealing with Shamir seals "a manual process" and says auto unseal through a cloud KMS gives most users a better experience. Community edition also lacks namespaces, performance and disaster recovery replication, and secrets sync, which are Enterprise features. HCP Vault Dedicated removes the operations work as a paid managed service.
One more change matters if you read older comparisons. HCP Vault Secrets, HashiCorp's lighter managed product, reached end of sale on June 30, 2025 and end of life no later than July 1, 2026, according to IBM support. Its users were pointed to HCP Vault Dedicated or Vault Community.
Who can decrypt
The two products agree on the model. Vault's barrier encrypts data before it reaches storage, and "once Vault retrieves the encryption key, it decrypts the data in the storage backend, and enters the unsealed state". An unsealed Vault server can therefore read every secret it holds and returns plaintext to clients whose policies allow it.
AWS says the same of Secrets Manager: it "decrypts the secret value before returning it to the caller". You can choose a customer managed KMS key per secret, which controls who may use that key through IAM, but the service still performs the decryption. Secret names and descriptions are not encrypted.
That is a design choice, and it means the operator of the server, your Vault administrators or AWS and your IAM administrators, sits inside the trust boundary of every secret.
Where Vault is stronger
- Dynamic secrets. Database and cloud credentials can be generated for each request and revoked when the lease ends. Secrets Manager rotates stored secrets on a schedule instead.
- Any cloud or none. Vault runs on any infrastructure and authenticates workloads from many platforms. Secrets Manager is tied to AWS.
- More than secrets. Vault adds a PKI secrets engine for certificates, the transit engine for encryption as a service, and many auth methods, all in one platform.
- Response wrapping. Vault can return a single-use token in place of a secret, so the value is fetched only once by the intended recipient.
Where AWS Secrets Manager is stronger
- Nothing to operate. No servers, no unseal, no upgrades and no on-call rotation for the vault itself.
- IAM everywhere. Access uses the same IAM roles your workloads already have, and CI jobs can assume them through OIDC.
- Managed rotation. Many AWS-managed secrets rotate without a Lambda function you maintain.
- Predictable cost for small setups. A small number of secrets costs a few dollars a month, with no cluster to size.
A third option: Crunu
Crunu, which wrote this page, is built for teams that want neither a cluster to run nor a server that can decrypt. Values are encrypted in the browser and the crunu agent, and the server stores only ciphertext; each environment has its own key, sealed to each person, machine and pipeline that may read it. Pipelines use service tokens bound by OIDC to a repository, branch and deployment environment on GitHub Actions, GitLab CI or Bitbucket Pipelines. You can use the Crunu cloud or, on the Enterprise plan, host the server yourself on Docker, Cloudflare Workers, Vercel or Google Cloud Run, with no unseal step. It is free during early access. The server still sees metadata such as names, email addresses and timestamps, as the limitations page explains.
Crunu is not a fit if you need dynamic secrets, PKI, encryption as a service, IAM-native access for AWS workloads, managed rotation or Kubernetes integration; it has none of these, and dynamic secrets are left out by design because they need a key on the server. The full comparisons are Crunu vs HashiCorp Vault and Crunu vs AWS Secrets Manager. If you are choosing inside AWS, see AWS Secrets Manager vs Parameter Store.
More facts, row by row
Details beyond the 14 questions above, as this comparison states them.
| HashiCorp Vault | AWS Secrets Manager | |
|---|---|---|
| What you run | Community or Enterprise on your own servers, or HCP Vault Dedicated managed by HashiCorp | Nothing; a managed AWS service |
| Where values are decrypted | On the Vault server: its barrier decrypts data from storage once Vault is unsealed | In the service, which decrypts the value with AWS KMS before returning it |
| Starting the server | Starts sealed; unseal with key shares or auto unseal through a cloud KMS or, on Enterprise, an HSM | Not applicable |
| License | Business Source License 1.1 from version 1.15; each version converts to MPL 2.0 after four years | Proprietary managed service |
| Dynamic secrets | Database and cloud engines create credentials on demand and revoke them when the lease ends | Not documented; managed rotation, or a Lambda function, replaces stored secrets on a schedule |
| Access control | Policies on paths, with many auth methods, including JWT and OIDC | IAM policies and resource-based policies on each secret |
| CI pipelines | JWT/OIDC auth method with bound claims, usable from GitHub Actions and other CI | CI jobs assume IAM roles through an OIDC identity provider |
| Audit | Audit devices record all requests and responses, with most strings HMAC-hashed by default | CloudTrail records API calls; the console shows the last 90 days |
| Multi-region | Performance and disaster recovery replication on Enterprise | Replication of secrets across AWS Regions |
| Kubernetes | Helm chart, Vault Secrets Operator, CSI provider and Agent Injector | AWS Secrets and Configuration Provider for the Secrets Store CSI Driver on EKS |
| Pricing model | Community is free to run under its license; Enterprise and HCP Vault Dedicated are paid | Per secret per month and per 10,000 API calls; replicas are billed as separate secrets |
Sources
Every page this comparison relies on, and the day we last verified it.
- Vault architecture · checked October 30, 2026
- Vault seal and unseal · checked October 30, 2026
- Vault editions · checked October 30, 2026
- Vault license (BSL 1.1) · checked October 30, 2026
- Vault JWT/OIDC auth method · checked October 30, 2026
- Vault database secrets engine · checked October 30, 2026
- Vault PKI secrets engine · checked October 30, 2026
- Vault transit secrets engine · checked October 30, 2026
- Vault audit devices · checked October 30, 2026
- Vault secrets sync · checked October 30, 2026
- Vault on Kubernetes · checked October 30, 2026
- IBM completes acquisition of HashiCorp · checked October 30, 2026
- IBM support: HCP Vault Secrets end of life · checked October 30, 2026
- AWS Secrets Manager encryption · checked October 30, 2026
- AWS Secrets Manager pricing · checked October 30, 2026
- AWS Secrets Manager rotation · checked October 30, 2026
- AWS Secrets Manager quotas · checked October 30, 2026
- AWS Secrets Manager replication · checked October 30, 2026
- Vault response wrapping · checked October 30, 2026
- AWS Secrets Manager logging with CloudTrail · checked October 30, 2026
- AWS IAM: OIDC identity providers · checked October 30, 2026
- AWS Secrets and Configuration Provider for EKS · checked October 30, 2026
Questions about HashiCorp Vault and AWS Secrets Manager
Something else? Write to support@crunu.com
Is HashiCorp Vault cheaper than AWS Secrets Manager?
Vault Community has no license fee for most uses, but you pay for the servers, storage and people to run, unseal and upgrade it. AWS Secrets Manager has no operations work but bills per secret per month and per 10,000 API calls. For a small number of secrets on AWS, the Secrets Manager bill is a few dollars a month, with no servers to run.
Does AWS Secrets Manager support dynamic secrets?
Not in the sense Vault does. Secrets Manager rotates stored secrets on a schedule, through managed rotation or a Lambda function, while Vault's database and cloud engines create new credentials for each request and revoke them when the lease ends.
Can AWS or my Vault server read my secrets?
Yes, in both cases. AWS Secrets Manager decrypts the value with AWS KMS before returning it to the caller, and an unsealed Vault server decrypts data from its storage backend to answer requests. A customer managed KMS key controls who may use the key, not where decryption happens.
What happened to HCP Vault Secrets?
IBM support lists end of sale on June 30, 2025 and end of life at the earlier of the Flex contract expiry or July 1, 2026, after which applications are deleted. HashiCorp pointed users to HCP Vault Dedicated or Vault Community edition.
Can I use both Vault and AWS Secrets Manager?
Yes. Vault's secrets sync, on Enterprise or HCP Vault Dedicated, can push secrets to external destinations, and you can keep application secrets in Secrets Manager while using Vault for dynamic credentials or PKI. Keep each secret in one source of truth.