kms.network

HashiCorp Vault vs AWS KMS

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

HashiCorp VaultAWS KMS
TypeSecrets platformCloud KMS
ScopeSecrets, keys, PKI, dynamic credentialsEncryption keys
DeploymentSelf-hosted + HCPSaaS (AWS)
Key custodyHSM auto-unseal and seal wrap in EnterpriseFIPS 140-3 Level 3 validated HSMs
How it worksA 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.Keys 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.
Pricing*Community free (BUSL); HCP by quote$1/key/mo + $0.03 per 10k requests
Free tierYesYes
LicenceBUSL-1.1 — not OSI-approved—
Best forDynamic, short-lived credentials at scaleAnything already running on AWS

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

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

Bottom line

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

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