HashiCorp Vault vs Azure Key Vault: when each fits your team
Azure Key Vault fits a team whose workloads and identities already sit in Azure, where Microsoft operates the service and access is managed through Microsoft Entra ID. HashiCorp Vault fits a team that runs workloads across clouds or on premises and wants one secrets engine and one policy model for all of them, provided it can operate that platform. Vault secrets sync, which keeps a one-way copy of selected secrets in Azure Key Vault, requires Vault Enterprise or HCP Vault Dedicated, so the Community edition does not cover that path. The choice usually turns on operating model and data location.
Start with where the secrets must live. Key Vault runs only in Azure, and its backups restore only into a key vault in the same Azure subscription and Azure geography, so a rule that secrets stay in your own data center or span several clouds points toward Vault. Next, check whether you need Enterprise features. Replication, namespaces, HSM support, seal wrapping, FIPS compliance, performance standby nodes and automated upgrades all require a Vault Enterprise license, so list the ones your architecture depends on and ask HashiCorp to quote them. Confirm whether the Community edition or OpenBao covers the same need without a subscription. Also test throughput: Key Vault allows 4,000 secret and other transactions per vault per region in 10 seconds, so compare that limit with your peak load.
Then decide who runs the platform. Key Vault is operated by Microsoft, so your team owns access policies, network controls, soft delete and purge protection settings, and backup routines. Self-managed Vault or OpenBao makes your engineers or a partner responsible for upgrades, unseal procedures, high availability and storage. Finally, price the exit. Key Vault cannot back up a whole vault in one operation, and it cannot back up a key, secret or certificate with more than 500 versions, so moving out means reading secrets back through the API. Ask both vendors for their documented export path, and run a timed test restore on a non-production vault before you sign.
Which HashiCorp Vault vs Azure Key Vault scenario fits your team
This table maps six common scenarios to the option that usually fits better, along with the condition that makes each advantage matter. Read the middle column first, then check the reasoning against your own cloud footprint, licensing position and data location. The main takeaway is that Azure Key Vault suits Azure-only teams, while Vault or OpenBao fits teams that need one control plane, self-hosting or a fixed exit path.
| Scenario | Better fit | Why it matters |
|---|---|---|
| Azure-only workloads with no cross-cloud need | Azure Key Vault | Native Azure integration and per-operation billing suit one cloud. Retail rates for East US list per-operation charges, so confirm your volumes. |
| Multi-cloud or hybrid estates that need one control plane | HashiCorp Vault or self-hosted OpenBao | Matters when apps in several clouds read one policy set. Key Vault backups restore only within the same Azure subscription and geography. |
| Teams that must run in their own data centers or air-gapped networks | Self-hosted OpenBao | Matters when secrets cannot leave your network. Key Vault is an Azure-hosted service, so it cannot run inside an air-gapped site. |
| Teams that need Enterprise-gated features such as namespaces, HSM support or replication | OpenBao, after confirming each feature | Matters when you need these features without an Enterprise license. Confirm OpenBao covers replication and your HSM model first. |
| Teams that keep Vault as the source and push one-way copies to Key Vault | Vault Enterprise or HCP Vault Dedicated | Built-in sync to Key Vault needs Vault Enterprise or HCP Vault Dedicated. Community and OpenBao setups need an external sync job you maintain. |
| Teams that want a fixed exit plan after the 2023 license change | Self-hosted OpenBao | Vault's later releases moved to Business Source License 1.1. OpenBao is MPL 2.0 and documents an upgrade path from Vault Community 1.14.1. |
Decision path: from data location to the right secrets manager
The path starts with one question: must secrets and workloads stay inside Azure? If yes, Azure Key Vault is the first candidate, and its backups restore only into a key vault in the same Azure subscription and geography. If not, ask whether the estate spans clouds or on-premises. If it does, check whether air-gapped or self-managed operation is required, which points to OpenBao or Infisical. If it does not, check whether Enterprise-gated features such as replication, namespaces, HSM support or secrets sync are needed, which points to HashiCorp Vault Enterprise or HCP Vault Dedicated. Confirm each answer against your own environment before you choose.
The order of checks from data location to a secrets manager choice.
HashiCorp Vault vs Azure Key Vault capabilities compared
This table compares HashiCorp Vault and Azure Key Vault on deployment, edition-gated features, secrets sync, recovery, backup, limits, HSM options and long-term support. Where a figure is not published for your edition, the cell tells you what to confirm with the vendor before you rely on it. The main takeaway is that Key Vault publishes hard limits and recovery rules, while Vault's Enterprise-only items need a quote and an edition check.
| Capability | HashiCorp Vault | Azure Key Vault |
|---|---|---|
| Deployment model | Community (free, self-managed), Enterprise (self-managed, by quote) or HCP Vault Dedicated (HashiCorp-managed, by quote) | Azure-managed service billed per operation, key and renewal, with Managed HSM pools as a separate option |
| Enterprise-gated features | Replication, namespaces, HSM support, seal wrapping, FIPS compliance, performance standby nodes, control groups, Sentinel policy as code and automated upgrades | Confirm with Microsoft which Key Vault and Managed HSM features are included in your tier and region |
| Secrets sync | One-way sync to AWS Secrets Manager, Azure Key Vault, GCP Secret Manager, GitHub Actions or Vercel, requires Enterprise or HCP Vault Dedicated | Key Vault is a destination for Vault's one-way sync; confirm any native sync options with Microsoft |
| Soft delete and purge protection | Confirm recovery and purge controls for your storage backend and edition with HashiCorp | On by default and cannot be disabled once enabled. Recovery window 7 to 90 days, 90 by default. Purge protection blocks early purge. |
| Backup format and restore limits | Depends on storage backend and edition; confirm snapshot, restore and any Enterprise-only automation with HashiCorp | Encrypted blob decryptable only in Azure. Restores only into the same subscription and geography. Objects with over 500 versions cannot be backed up. |
| Transaction and vault limits | Sized by your cluster, storage and load testing; confirm supported throughput with HashiCorp for your edition | 4,000 transactions per vault per region in 10 seconds; 300 create or import operations per 10 seconds |
| Object count limits | Depends on storage backend and cluster sizing; confirm object limits with HashiCorp for your edition | No limit on keys, secrets or certificates per vault. Managed HSM: 5,000 keys per instance. |
| HSM options | HSM support is an Enterprise feature; confirm supported HSM types and seal options for your edition | Premium tier HSM-protected keys billed per key per month; Managed HSM pools billed hourly per pool, 5 instances per subscription per region |
| Long-term support (Vault Enterprise) | LTS releases 1.16 and 1.19. From April 2026, IBM Support Cycle-2: 2 years base, 1 year critical extended, 3 years sustained. | Confirm Microsoft's service lifecycle and version retirement terms for your region and contract |
How each product bills, and what drives the bill
Azure Key Vault bills by operation, key, renewal and HSM pool hour, while Vault cost depends on edition and the scope of the quote. The Azure figures below are East US retail list rates from the Azure Retail Prices API and the Azure Key Vault pricing page, and your Microsoft agreement may differ. Check both against your own invoices before comparing.
Vault Community edition
The Community edition is free to license, so the cost moves to your own infrastructure and staff. You run the servers, storage, high availability, upgrades, backups and on-call coverage yourself. Before you assume the Community edition covers your design, check whether the features you rely on, such as replication, namespaces and HSM support, sit in the Enterprise feature set. Also confirm which Vault releases your team will run, because HashiCorp's 2023 license change applies to all future releases.
Vault pricing pageVault Enterprise and HCP Vault Dedicated
Both Vault Enterprise, which you self-manage, and HCP Vault Dedicated, HashiCorp's managed service, are priced by quote only, so this page shows no list figures for them. Enterprise-only features include replication, namespaces, HSM support, seal wrapping, FIPS compliance and secrets sync to AWS, Azure and GCP. Ask each vendor for a written quote that states the features, node counts, regions and support tier it covers, and whether it includes the cloud accounts that secrets sync writes to.
Vault Enterprise docsKey Vault operations
Standard and Premium tiers both list secret and software-key operations at $0.03 per 10,000 operations in East US, and advanced key operations at $0.15 per 10,000. Operation volume is the main driver, so count every fetch from CI pipelines, containers and agents, since each one is billed. Caching secrets in clients and lowering polling frequency reduces the count. Ask your Microsoft account team which operations your workloads trigger and whether an enterprise agreement changes these rates.
Azure Key Vault pricingKeys, renewals and rotations
Premium HSM-protected RSA 2048-bit keys list at $1 per key per month, billed only for keys used in the prior 30 days, with each key version counted separately. Certificate renewal requests list at $3 each, and automated key rotation at $1 per rotation. Key versions and rotation frequency compound: a key rotated every month accumulates versions, and each certificate renewal adds a charge. Inventory your keys and certificates with their rotation schedules before you model the bill.
Managed HSM pools
Managed HSM bills each pool as an hourly fee per pool, and the Standard B1 pool lists at $3.20 per hour in East US. Pool hours accrue for as long as the pool exists, so a pool kept for a single environment runs all month. The number of pools and the regions they sit in drive this line. Managed HSM also caps HSM instances at 5 per subscription per region, so check that limit against your design, and compare the cost with any HSM hardware or hosting you would run yourself.
Azure Key Vault pricingWho patches, unseals, backs up and upgrades each option
Self-managed Vault moves almost every operational duty to your team. You run the Vault nodes, the storage backend you choose, the high availability design, the unseal process, upgrades and backups. Each Vault release, including security fixes, needs a rolling plan that keeps the cluster serving secrets while nodes are replaced. Unseal is the step most often underestimated. Confirm the seal method, who holds the unseal and recovery keys, and how they are reached during an outage, because a sealed cluster serves no secrets. Enterprise adds Vault Enterprise long-term support release lines, including Vault Enterprise 1.16 and 1.19. From April 2026, Vault Enterprise follows IBM Support Cycle-2: 2 years of base support, 1 year of critical extended support and 3 years of sustained support. Map your upgrade calendar to those windows.
With Key Vault, Azure runs the service, so your team does not unseal, patch or build high availability for the service itself. Your team still owns the settings that decide whether the service protects you. Set access roles per vault and review them on a schedule. Soft delete is on by default for new vaults and cannot be disabled once enabled, so keep it on and choose a retention period between 7 and 90 days, with 90 as the default. Turn on purge protection where a deleted object must stay recoverable until the retention period ends. Design rotation and throughput around the limit of 4,000 transactions per 10 seconds per vault per region, plus 300 combined secret create, certificate import and key import operations in the same window. Azure Key Vault service limits lists the current figures. Bursty workloads, such as many containers starting together, need caching and retries with backoff.
Backup and recovery differ on the two sides. For self-managed Vault, the storage and configuration backups are yours to schedule, test and keep, and a restore is only as good as your last rehearsal. For Key Vault, a backup downloads each object as an encrypted blob that cannot be decrypted outside Azure. A backup restores only into the same Azure subscription and Azure geography. Key Vault cannot back up a whole vault in one operation, and it cannot back up a key, secret or certificate with more than 500 versions, so inventory objects with long version histories before you rely on backup. Before you commit to either option, confirm with HashiCorp and Microsoft who performs unseal and recovery, who owns high availability and failover, and who schedules and tests upgrades. Record those answers in your runbook.
Where secrets live and what leaving each product involves
Exit cost depends on where each product keeps your secrets and what the provider lets you take out. Azure Key Vault backups and recovery settings tie data to an Azure subscription, geography and retention window, while Vault's hosting model and licensing decide how much of the platform you control. Check each point before you set a migration date.
Key Vault backups stay in Azure
A Key Vault backup downloads each object as an encrypted blob that cannot be decrypted outside Azure. Restores work only into a key vault in the same subscription and Azure geography. Key Vault cannot back up a whole vault in one operation, so an export plan has to cover each key, secret and certificate separately. Objects with more than 500 versions cannot be backed up, and previous versions cannot be deleted, so review version counts before you plan. Ask your Azure team which backups exist today and where they are stored.
Key Vault backup docsSoft delete and purge protection
Soft delete is on by default for new key vaults, and it cannot be disabled once enabled. Deleted vaults and objects stay recoverable for 7 to 90 days, with 90 as the default. When purge protection is on, nothing can be purged until that retention period passes. During an exit, this sets the timeline: a decommissioned vault remains recoverable for the full window you chose, so set the retention period and the purge protection status before you schedule any deletion. Confirm both settings on every vault in scope.
Soft delete overviewWhere Vault data is stored
Vault can run on infrastructure you operate, or as HCP Vault Dedicated, a managed service HashiCorp runs. The choice decides who can reach the storage layer, where backups and snapshots sit, and which region holds your secret values. For a managed cluster, get the HCP region, the data residency commitments and the export path in writing from HashiCorp before you sign. Map those answers to the residency rules that apply to each environment, including development and disaster recovery copies.
Reading secrets out of Vault
Moving secrets out of Vault means reading each value through the API and writing it to the new store. Plan this as a project: list every KV path, decide which versions you need, and record which applications, agents and Kubernetes injectors read each path. Raft snapshots have their own restore limits, which the sibling export guide covers, so do not treat a snapshot as your exit route. Run a test read of a sample of secrets before you commit to a cutover date.
OpenBao migration guideLicense and ownership signals
On August 10, 2023, HashiCorp announced that future releases of its products would move to the Business Source License 1.1, while APIs, SDKs and most libraries stay under MPL 2.0. The restriction targets vendors offering competing services built on the products. IBM completed its acquisition of HashiCorp on February 27, 2025. Have counsel confirm how the license applies to the Vault version you run, what your agreement says about renewals and change of control, and which company you would negotiate with at renewal.
HashiCorp license announcementWhat a move between Key Vault and Vault involves
This sequence moves secrets, keys and certificates from Azure Key Vault to HashiCorp Vault, or makes Vault the source of truth, without relying on Key Vault backups, which cannot be restored outside Azure. It produces a tested inventory, a recorded choice between sync and cutover, access rules that match the old model, and consumers reading from one authoritative store.
Inventory every secret, key, certificate and consumer
Start by listing every object in each key vault, including its type, version count, expiry, rotation settings and whether a key is software or HSM protected. Then list every consumer that reads it, such as applications, pipelines, Kubernetes workloads, Azure services and scripts, with the identity each one uses. Export the inventory with the Azure CLI, then have each application owner confirm their entries. Done when every consumer maps to at least one object and every object has a named owner.
Choose between sync and full cutover
Decide whether HashiCorp Vault becomes the source of truth and keeps a one-way copy in Key Vault, or whether consumers move fully and Key Vault is retired. One-way sync from Vault to Key Vault requires Vault Enterprise or HCP Vault Dedicated, so confirm the license tier with HashiCorp before you plan around it. A full cutover avoids that dependency but keeps Key Vault as the only fallback until the last consumer moves. The output is a signed decision record naming the source of truth for each object type.
Confirm which key types can leave Key Vault
Check each key in the inventory for exportability and protection level. Keys created as non-exportable, and keys protected in an HSM, may not be downloadable at all, so the only route may be to re-create them in the target or re-issue certificates. Confirm the rules for each key type and tier against Microsoft's current documentation and a test key in a non-production vault before you assume any key can move. Output: an export matrix marking each key as movable, re-issued or staying in Key Vault, reviewed by the key owner.
Read values through the API
Key Vault backups download an encrypted blob that only restores into a key vault in the same Azure subscription and geography, so they cannot seed a store outside Azure. Use the Key Vault API or SDK with a read-only identity to fetch every value you are permitted to export, including certificate material where the key is exportable. Objects with more than 500 versions cannot be backed up, so plan API reads for them from the inventory. Write values into the target store over an encrypted channel and keep Key Vault diagnostic logs on. Done when counts and checksums match the inventory for every object.
Recreate policies, auth methods and RBAC roles
Translate each Azure RBAC role assignment and access policy into a Vault policy, then map every identity that reads Key Vault to a Vault auth method. Confirm each method and policy syntax against the documentation for your Vault edition. Have a security reviewer compare old and new access lists and confirm no identity gains write access it lacked. Output: a reviewed mapping file and test identities that read only what the old roles allowed.
Move consumers in batches
Group consumers by owner and risk, then move one batch at a time, starting with the lowest-impact group. For each consumer, change the code, SDK call, environment variable or Kubernetes injector so it reads from Vault, and keep the Key Vault read path available as a fallback until the batch passes its checks. Record each change in your change tracker. Done when every consumer in the batch reads from Vault, passes its checks and has owner sign-off.
Run both stores, verify, then retire
Keep both stores running and compare the values Vault returns with the values in Key Vault for every migrated object. Check that audit logs show reads from the new store and no reads from the old one after cutover. Once the logs confirm this, remove application write access to Key Vault, keep soft delete and purge protection settings in place for recovery, and retire the store on a planned date. Output: a verification report, a decommission record and retained audit logs.
When OpenBao or Infisical fits better than either product
Choose OpenBao or Infisical when the secrets manager must run in your own data centers or air-gapped networks under your own control, and when you want to avoid both Key Vault's Azure scope and Vault's Enterprise-gated features. OpenBao is the closer path for teams already running Vault. It is licensed under MPL 2.0, managed under the Linux Foundation's OpenSSF, and provides encrypted storage, dynamic secrets, encryption as a service, and leasing with revocation. Release v2.7.1 came out on October 1, 2026. Confirm the upgrade path before you plan around it. The documented node-by-node in-place upgrade covers only Vault Community 1.14.1 on Raft storage with Shamir unseal. If your cluster runs another Vault version, uses Enterprise features, or uses a different unseal method, treat the move as a migration project with its own tested plan. Read the OpenBao migration guide before you scope it.
Infisical fits teams that want secret delivery driven from a project dashboard. Its repository is MIT licensed except for content in ee directories, which carry a separate license, so list the features you plan to use and check each one against that split. Its secret syncs push values to platforms such as GitHub, Vercel and AWS, its Kubernetes operator delivers secrets to workloads and reloads deployments, and its agent injects secrets into processes without code changes. Moving from Vault to Infisical means re-pointing applications, agents and pipelines, because the two products expose different APIs and policy models. Ask the vendor during scoping whether any migration tooling supports your Azure Key Vault sources, and what it imports and what it leaves behind.
Running either product puts the operating work on your team. Plan the infrastructure, the high availability design, and the storage backend that holds the encrypted data. Decide the unseal model early. Shamir key shares need named custodians and a documented ceremony for every restart, while auto-unseal with a cloud KMS or HSM moves that burden into a dependency you must also run. Backups of storage and unseal material need restore tests in your own environment, because Key Vault's backup format cannot be reused here. For OpenBao on Kubernetes, use the Helm chart with Helm 3.6 or later. Budget staff time for on-call, upgrades, and security review of policies and access. Confirm with each vendor which database and cache components its current version requires.
What buyers ask before choosing or moving secrets managers
What drives the cost of Azure Key Vault compared with self-hosted Vault or OpenBao?
Azure Key Vault is billed by what applications and administrators do, while self-hosted Vault or OpenBao is billed by the infrastructure and people behind it. For Key Vault, the main drivers are operation volume, key versions and rotations. Azure retail list prices for East US, from the Azure Retail Prices API, show secret and software-key operations at $0.03 per 10,000 on both Standard and Premium tiers, advanced key operations at $0.15 per 10,000, and automated key rotation at $1 per rotation. Premium HSM-protected RSA 2048-bit keys add $1 per key per month. For self-hosted Vault or OpenBao, the recurring costs are servers, storage, HSM or cloud KMS for auto-unseal, backups and staff time for upgrades and on-call. Vault Enterprise is quoted, so ask HashiCorp for a written quote that states the features, support terms and deployment scope it covers.
How long does a secrets manager migration take and what changes the timeline?
The duration depends on the size and shape of your secrets estate, so no timeline should be assumed before a written scope exists. The main drivers are the number of secrets, the number of consumers that read them (applications, pipelines, agents and Kubernetes workloads), the number of versions each secret carries, and whether secrets must stay in sync with another store during cutover. Each consumer needs its client configuration, auth method and policy changed and tested, and consumer changes tend to take more effort than moving individual secrets. Sync needs add a period of running two systems side by side. Ask for a written scope that lists each phase, the entry and exit criteria for each cutover wave, and which steps depend on change windows. Ask the provider to show how it counted consumers and versions in its estimate.
What does the client need to provide before a secrets manager migration starts?
Before work starts, the client needs an inventory, named owners, agreed change windows and admin access to both sides. The inventory should list every vault or secret path, the applications, pipelines and agents that read each one, the version counts, and the soft delete and purge protection settings in place. Each group of secrets needs a named owner who can approve cutover and confirm that the application works afterward. Change windows must be agreed for each consuming system, since moving a secret often means a restart or redeploy. Admin access to the Azure subscription and to the Vault or OpenBao cluster, including the ability to create policies, auth mounts and test secrets, is needed for both the build and the rollback. Put these inputs in the written scope so the deliverables match what the client can release.
Can an internal team migrate secrets without an outside partner?
Yes, a capable internal team can migrate on its own if it has solid documentation and a test environment that mirrors production. Whether to do it alone turns on three things: whether your engineers already run Vault, OpenBao or Key Vault day to day, whether someone covers the secrets platform on call outside business hours, and who holds key custody, meaning the unseal keys, recovery keys, HSM access and root or admin credentials. If one of those is thin, an outside team can take over defined parts of the work, such as the inventory, cluster build, cutover runbooks or test plan. DeployOpen plans, implements, documents and supports self-hosted open-source platforms in the client's own infrastructure, and it can take on defined parts of the work under a fixed-scope written agreement. Start by writing down who would hold each key and who answers an alert at night, then decide.
Does the 500-version or transaction limit change the secrets manager design?
Yes, both limits can shape the design, so check them against your inventory before choosing a target layout. Key Vault cannot back up a key, secret or certificate with more than 500 versions, and previous versions cannot be deleted, so long version histories need a separate export and retention plan rather than relying on Key Vault backup alone. Microsoft's backup guidance also says a backup can only be restored into a key vault in the same subscription and Azure geography. On throughput, Key Vault allows 4,000 secret and other transactions per vault per region in 10 seconds, and 300 combined secret create, certificate import and key import operations in the same window. The subscription-wide limit is five times the per-vault limit. Busy pipelines or bulk loads may need caching, batching or splitting secrets across vaults. These limits apply to Key Vault only, and self-hosted capacity depends on your own hardware and storage, which you should test.
Does syncing secrets to Azure Key Vault require a Vault Enterprise license?
Yes, in HashiCorp's current licensing, Vault secrets sync requires Vault Enterprise or HCP Vault Dedicated. Vault secrets sync keeps a one-way copy of selected secrets in destinations such as AWS Secrets Manager, Azure Key Vault, GCP Secret Manager, GitHub Actions and Vercel. If you run Vault Community Edition, that feature is not available, so you would need an external sync job or a different distribution pattern. Confirm the license terms in writing with HashiCorp before you rely on a sync design, since edition boundaries can change. For OpenBao, check the project documentation for a sync feature before assuming one exists. Treat any sync approach as an engineering task with its own owner, testing and failure handling, whichever tool provides it.
How DeployOpen helps you choose, implement and integrate
DeployOpen is a Chainscore Labs company that plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms in your own infrastructure. For HashiCorp Vault vs Azure Key Vault, we start from where your secrets, cloud accounts and compliance evidence sit today, then work out whether OpenBao, Infisical or another option fits your workloads. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope lists which Vault or Azure Key Vault secrets, keys and certificates move, and which stay.
- We map Azure Key Vault operations, RBAC roles and access policies to the target auth methods and policies.
- Scope, deliverables and timeline are agreed in writing before work starts, with ongoing support available as a retainer.
How we build
- We deploy the chosen platform in your cloud account, data center or air-gapped network, with SSO and access control.
- Storage, unseal and key handling are configured and hardened, with audit logging, so your security team can review them.
- Application secret paths are re-pointed, replacing Azure Key Vault references with new client or agent configuration.
How we hand over
- Agreed deliverables can include architecture notes, runbooks for sealing, backup and restore, and the access model.
- Your exit plan accounts for Azure Key Vault backups, which restore only into the same subscription and geography.
- Documentation and evidence are prepared for your compliance team, while independent auditors issue any audit report or attestation.
How we support
- Upgrades are planned for the OpenBao or Infisical release line you choose, with changes tested first.
- Security testing of the new setup can be included in the scope, with retesting after fixes.
- Ongoing support, upgrades and continuous testing run as a retainer after handover, with terms agreed in writing.

