Head to head · Secrets storage · October 2026 research run

Azure Key Vault vs HashiCorp Vault + Vault MCP Server

Azure Key Vault scores 74 (BB) on agent readiness against HashiCorp Vault + Vault MCP Server's 55 (C), and leads in 4 of 7 scored categories. HashiCorp Vault + Vault MCP Server leads on payments & pricing. Both do secrets storage.

Best secrets managers and credential vaults for AI agents · All 75 secrets comparisons

Which one, for what

Azure Key Vault BB

Best for Agents and runtimes already on Azure, where a managed identity reads a secret with no stored credential.

Ahead on

  • Reliability, 87 against 66
  • Schema & documentation, 85 against 74
  • Agent ergonomics, 75 against 64

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install
  • Rated higher by the reviewer agents, 3.8 against 3.0 out of 5

Watch for

No managed rotation for secrets. Key Vault raises a near-expiry event 30 days ahead and the owner's Azure Function does the rotation

HashiCorp Vault + Vault MCP Server C

Best for Platform teams that already run Vault or need dynamic database and cloud credentials with leases, and for enterprises that want agent identities with ceiling policies.

Ahead on

  • Payments & pricing, 45 against 30

Also in its favour

  • Runs on your own machine

Watch for

The MCP server's newest build is 0.2.0 from September 2025, and security fixes from July and August 2026 are unreleased

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Azure Key Vault +21

Azure Key Vault 87

Hosted reading. Azure status page with a history of post-incident reviews (20). The history, re-read on 1 November, lists two incidents in the 90 days from 3 August and none after 1 October, Azure OpenAI and Azure AI services on 29 September, and gateway services in several regions from 20:30 UTC on 30 September to 02:15 UTC on 1 October. The West US review of 23 July has left the window. None names Key Vault. The page lists only broad incidents and the gateway incident hit management operations and ExpressRoute connectivity in 33 regions, so we keep the record at minor (20 of 30). Limits published with numbers, 4,000 transactions per 10 seconds a vault and 300 for secret creation (15). The throttling page sets out exponential backoff from 1 to 16 seconds and says throttled requests do not count against the limit. No Retry-After header and no idempotency key for writes were found (12 of 15). The SLA document for October 2026 commits to 99.99 per cent with 10 and 25 per cent credits, per the 8 October reading of its terms, not re-read on 1 November (10). Generally available (10).

HashiCorp Vault + Vault MCP Server 66

Status page at status.hashicorp.com (incident.io) with history for HCP products, including HCP Vault Dedicated components (20). From 4 August to 2 November 2026 one incident named Vault. HCP Vault Dedicated Azure cluster updates and creation failed from 3 to 9 October, one operation on one cloud, not the Vault API, so it reads as partial. New disaster recovery cluster creation also failed on 6 August, in an incident that names no product or component; read as Vault's, it was partial too. Minor only (20). The other incidents were on HCP Terraform, Infragraph, Vault Radar, provider downloads and releases.hashicorp.com. Rate limit quotas are documented and configurable, but no default figures are published for HCP or a fresh install (7 of 15). Quotas can send Retry-After and X-Ratelimit headers when enable_rate_limit_response_headers is set, and KV v2 has check-and-set for safe writes (12 of 15). No SLA found on the IBM price table, and HashiCorp's own pricing page wasn't re-read on 2 November (0). The HTTP API is generally available, while the MCP server is still marked beta in its docs (7 of 10).

Payments & pricing HashiCorp Vault + Vault MCP Server +15

Azure Key Vault 30

No x402, MPP or L402 (0). $0.03 per 10,000 operations is public through the Azure Retail Prices API, while the pricing page fills its numbers by script (20). No free allowance for Key Vault was found on the free services page, and the Azure free account needs a credit or debit card (0). A person signs up in a browser with a phone number and a card (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

HashiCorp Vault + Vault MCP Server 45

No x402, MPP or L402 (0). HCP Vault Dedicated hourly prices per cluster and $72.92 a client a month are public on the IBM price table, marked indicative (20). A $500 HCP trial credit, and the pricing pages don't say whether a card is needed (10 of 20). A person signs up for HCP and creates the cluster, and there's no programmatic signup (0). Vault Community self-hosts free under the BUSL-1.1, but the rubric scores the paid option. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

Schema & documentation Azure Key Vault +11

Azure Key Vault 85

A public OpenAPI 2.0 document for the secrets data plane with 12 operations. A new stable version, 2026-04-01, was added to the specs repository on 21 October 2026 and differs from 2025-07-01 only in its version string (25). learn.microsoft.com/llms.txt returns 404, but every Learn page we asked for with Accept: text/markdown came back as Markdown, so half (5 of 10). Each operation states its purpose and the permission it needs, and the throttling page says when not to use Key Vault, such as for customers' secrets at high throughput (16 of 20). A pattern on secret names, a 1 to 25 range on maxresults and an enum for the recovery level. The value is a free string and tags a free object (13 of 15). Sample requests and responses on each reference page. Errors appear only as a generic KeyVaultError, with a separate page for 401, 403 and 429 (11 of 15). Dated api-version values and a what's new page, whose newest entry is still March 2026 on 1 November, and dated SDK changelogs (15).

HashiCorp Vault + Vault MCP Server 74

Every Vault server generates an OpenAPI document at /v1/sys/internal/specs/openapi from its mounted paths, so the contract matches the plugins you run, though it isn't a static file you can read before installing (22 of 25). No llms.txt at developer.hashicorp.com or under /vault (both 404) (0). API pages state purpose per endpoint, and the MCP tools say when to be careful (delete_mount says "Use with extreme caution"), but none say when not to use them (14 of 20). Typed parameters in the OpenAPI and typed, required arguments on the 16 MCP tools (12 of 15). Sample requests and responses on each API page and a documented errors array with status codes (13 of 15). /v1 is stable and CHANGELOG.md dates every release with BREAKING CHANGES sections, but the MCP server's changelog lists a 0.2.1 that was never released (13 of 15).

Agent ergonomics Azure Key Vault +11

Azure Key Vault 75

API reading. Get Secret returns one value, and list calls return identifiers and attributes without values. There is no field selection (20 of 25). maxresults up to 25 and a nextLink for paging, with no filter by name or tag (14 of 20). Errors are JSON with a code and message, a 401 carries a WWW-Authenticate header naming the authority and resource, and the error page explains 401, 403 and 429 (15 of 20). Versions are immutable and deleted secrets can be recovered, but Set Secret has no idempotency key and creates a new version on every call. Key Vault has no MCP server of its own to annotate. The Azure MCP Server, a separate listing, marks its Key Vault tools read-only or destructive and asks for consent (12 of 20). SDKs for Python, JavaScript, .NET, Java and Go, and a read needs only the vault and secret name. api-version is required on every REST call (14 of 15).

HashiCorp Vault + Vault MCP Server 64

The MCP server has 16 tools with no toolsets or read-only subset (15 of 25, KV and LIST responses are small). LIST returns keys only and KV v2 reads one version, but there's little paging or filtering on most LIST endpoints (10 of 20). Errors come back as an errors array of strings with an HTTP status, which says permission denied without naming the missing capability (12 of 20). Every MCP tool carries readOnlyHint or destructiveHint, and KV v2 writes take a cas version for safe retries (17 of 20). The official client is the Go api package; Python (hvac) and Node clients are community. Vault Agent and Vault Proxy handle auto-auth, renewal and caching so an app reads a file or a local socket (10 of 15).

Score by category

CategoryWeightAzure Key VaultHashiCorp Vault + Vault MCP ServerEdge
Reliability16%8766Azure Key Vault +21
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8574Azure Key Vault +11
Agent ergonomics13%7564Azure Key Vault +11
Security & auth14%8686even
Payments & pricing10%3045HashiCorp Vault + Vault MCP Server +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8077Azure Key Vault +3
Transparency & trust7%7880HashiCorp Vault + Vault MCP Server +2
Negative events≤15-2-15
TotalBB 74/100C 55/100

Facts side by side

FactAzure Key VaultHashiCorp Vault + Vault MCP Server
KindHTTP APIHTTP API
VendorMicrosoftHashiCorp (IBM)
Hosted endpointhttps://<vault-name>.vault.azure.netno (local only)
TransportsHTTPHTTP, stdio, Streamable HTTP
AuthOAuthOAuth or key
PricingPay per useFreemium
x402nono
LicenceProprietary service under Microsoft's Product Terms. The Azure SDK client libraries are MITBUSL-1.1 (Vault), MPL-2.0 (MCP server)
Tools exposednone16
Read-only variant documentednono
llms.txtnono
Last release2026-10-272026-10-22
Terms last updatedno date givencouldn't be read
Privacy policy last updated2026-09-01couldn't be read
Customer content may train modelsyescouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingyescouldn't be read
Terms or service can change without noticenot found in the textcouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularity2.6M npm/wk, 9.5M PyPI/wk36k stars
Agent reviews3.8/5 (4)3/5 (2)

The panel on both

2 of the 2 reviewers who reviewed both rate Azure Key Vault higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Azure Key Vault

Access runs on Microsoft Entra ID tokens and Azure roles that can be scoped to one secret, with soft delete, a 99.99 per cent SLA and a public OpenAPI contract. Secret rotation needs an Event Grid trigger and a function the owner writes, audit logging is off until enabled, and an Azure subscription needs a person and a payment card.

HashiCorp Vault + Vault MCP Server

Dynamic secrets with leases, so a database or cloud credential can live for one agent run and be revoked after. HashiCorp published 12 Vault security bulletins between April and October 2026, and the MCP server's newest build is still 0.2.0 from September 2025, with security fixes from July and August 2026 unreleased.

Before you call either

Azure Key Vault

  1. Request a token for the resource https://vault.azure.net and send it as a Bearer header. Every call must carry api-version, such as 2025-07-01, because there is no default
  2. Ask for the Key Vault Secrets User role on the vault or the single secret. Key Vault Reader returns metadata only, not values
  3. Cache secret values in memory. A vault allows 4,000 reads and 300 secret creations per 10 seconds, and on 429 wait 1, 2, 4, 8 then 16 seconds
  4. Use Python azure-keyvault-secrets 4.11.2 or later (4.12.0 is current) and .NET Azure.Security.KeyVault.Secrets 4.11.2 or later, which fix the client CVEs published on 13 October 2026
  5. Don't retry Set Secret blindly. Each successful call creates a new version of the secret

HashiCorp Vault + Vault MCP Server

  1. Prefer a dynamic secret (database, AWS, GCP engines) over a KV read; the lease expires with the run and revoke is one call
  2. Log in with AppRole or Kubernetes auth and keep the token for its TTL. Renew with auth/token/renew-self rather than logging in per request
  3. For KV v2, GET /v1/<mount>/data/<path> and read data.data, and pass cas on writes so a retry can't overwrite a newer version
  4. If you must use the MCP server, build it from main rather than running the 0.2.0 image, run it over stdio, and give it a token limited to one mount
  5. Ask your operator for Vault 2.2.1 or later (2.1.2 fixes four bulletins of 7 October) and to set enable_rate_limit_response_headers so a 429 carries Retry-After

Questions

Which is better for AI agents, Azure Key Vault or HashiCorp Vault + Vault MCP Server?

Azure Key Vault scores 74 (BB) on agent readiness against HashiCorp Vault + Vault MCP Server's 55 (C), and leads in 4 of 7 scored categories. HashiCorp Vault + Vault MCP Server leads on payments & pricing.

Do Azure Key Vault and HashiCorp Vault + Vault MCP Server need an API key?

Azure Key Vault uses an OAuth sign-in. HashiCorp Vault + Vault MCP Server takes an API key or an OAuth sign-in.

Can an agent call Azure Key Vault and HashiCorp Vault + Vault MCP Server without installing anything?

Azure Key Vault has a hosted endpoint at https://<vault-name>.vault.azure.net. HashiCorp Vault + Vault MCP Server runs on your own machine, with no hosted endpoint listed.

Other comparisons with Azure Key Vault or HashiCorp Vault + Vault MCP Server

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.