kms.network

AWS KMS vs HashiCorp Vault

How AWS KMS and HashiCorp Vault differ on scope, key custody, deployment and cost.

AWS KMSHashiCorp Vault
TypeCloud KMSSecrets platform
ScopeEncryption keysSecrets, keys, PKI, dynamic credentials
DeploymentSaaS (AWS)Self-hosted + HCP
Key custodyFIPS 140-3 Level 3 validated HSMsHSM auto-unseal and seal wrap in Enterprise
How it worksKeys never leave the service — you call it to encrypt and decrypt rather than fetching key material. Envelope encryption is the normal pattern: KMS protects a data key, the data key protects your data. Every AWS service integrates natively, which is most of the value.A secrets engine rather than a key store: it issues short-lived database credentials, cloud tokens and certificates on demand, so secrets expire instead of sitting in a config file. Transit lets it act as an encryption service too. Powerful, and heavy to run properly.
Pricing*$1/key/mo + $0.03 per 10k requestsCommunity free (BUSL); HCP by quote
Free tierYesYes
Licence—BUSL-1.1 — not OSI-approved
Best forAnything already running on AWSDynamic, short-lived credentials at scale

AWS KMS

  • Integrated with essentially every AWS service
  • Key material never leaves the HSM boundary
  • Trivially cheap at small and moderate scale
  • Manages keys, not application secrets
  • Costs climb with request volume, not key count

HashiCorp Vault

  • Widest set of secret engines and integrations
  • Dynamic secrets genuinely reduce credential sprawl
  • Cloud-agnostic — one interface across providers
  • BUSL-1.1 is not open source — a real problem for some
  • Operating it well needs dedicated expertise

Bottom line

Choose AWS KMS for anything already running on aws. Choose HashiCorp Vault for dynamic, short-lived credentials at scale.

* Published list pricing (vendor pricing pages, August 2026).