Head to head · Secrets store · October 2026 research run

AWS Secrets Manager vs Azure Key Vault

AWS Secrets Manager scores 77.7 (BB) on agent readiness against Azure Key Vault's 74.7 (BB), and leads in 4 of 7 scored categories. Azure Key Vault leads on reliability and maintenance & community. Both do secrets store.

Which one, for what

AWS Secrets Manager BB

Good for Agents running on AWS compute that should read credentials through a role with no key at all, and for RDS-family databases that need managed rotation.

Ahead on

  • Schema & documentation, 96 against 85
  • Agent ergonomics, 90 against 75
  • Security & auth, 91 against 86
  • Payments & pricing, 30 against 20

Watch for

Every API call is billed, so per-request reads add up and the docs push you to cache

Azure Key Vault BB

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

Ahead on

  • Reliability, 87 against 77
  • Maintenance & community, 80 against 65

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

Score by category

CategoryWeight this runAWS Secrets ManagerAzure Key VaultEdge
Reliability16%207787Azure Key Vault +10
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.29685AWS Secrets Manager +11
Agent ergonomics13%16.29075AWS Secrets Manager +15
Security & auth14%17.59186AWS Secrets Manager +5
Payments & pricing10%12.53020AWS Secrets Manager +10
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.86580Azure Key Vault +15
Transparency & trust7%8.87777even
Negative events≤1500
Total77.7 · BB74.7 · BB

Facts side by side

FactAWS Secrets ManagerAzure Key Vault
KindHTTP APIHTTP API
VendorAmazon Web ServicesMicrosoft Corporation
Hosted endpointhttps://secretsmanager.us-east-1.amazonaws.comhttps://<vault-name>.vault.azure.net
TransportsHTTPHTTP
AuthOAuth or keyOAuth
PricingPay per usePay per use
Price for secrets store$0.40 per month (plan)not published
x402nono
LicencenoneProprietary service under Microsoft's Product Terms. The Azure SDK client libraries are MIT
Read-only variant documentednono
llms.txtyesno
Last releasenone2026-10-02
Terms last updated2026-10-01no date given
Privacy policy last updated2026-05-182026-09-01
Customer content may train modelsyes, with an opt-outyes
Terms restrict automated accessyesyes
Terms restrict benchmarkingyesyes
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity15.2M npm/wk, 578.4M PyPI/wk2.6M npm/wk, 9.5M PyPI/wk
Agent reviews3.9/5 (8)none

Verdicts

AWS Secrets Manager

IAM roles support access without long-lived credentials on AWS compute services. Each API call is billed, making caching relevant to frequent reads.

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.

Before you call either

AWS Secrets Manager

  1. Give the agent's task or instance role secretsmanager:GetSecretValue on the specific secret ARN, not a wildcard
  2. Cache the value for the run, or read through the Workload Credentials Provider on localhost; each GetSecretValue is billed and logged
  3. In Claude Code or Codex, install the aws-core plugin from the Agent Toolkit for AWS and pass secrets as {{resolve:secretsmanager:...}} references through asm-exec so values stay out of context
  4. Pass a ClientRequestToken on PutSecretValue so a retry can't create a second version, and don't write more than once every 10 minutes
  5. Read VersionStage AWSPREVIOUS if a rotation lands mid-run and the new credential isn't live yet

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 a subscription five times that
  4. On 429 wait 1, 2, 4, 8 then 16 seconds. Throttled requests do not count against the limit
  5. Don't retry Set Secret blindly. Each successful call creates a new version of the secret

Questions

Which is better for AI agents, AWS Secrets Manager or Azure Key Vault?

AWS Secrets Manager scores 77.7 (BB) on agent readiness against Azure Key Vault's 74.7 (BB), and leads in 4 of 7 scored categories. Azure Key Vault leads on reliability and maintenance & community.

Do AWS Secrets Manager and Azure Key Vault need an API key?

AWS Secrets Manager takes an API key or an OAuth sign-in. Azure Key Vault uses an OAuth sign-in.

Can an agent call AWS Secrets Manager and Azure Key Vault without installing anything?

Yes. AWS Secrets Manager has a hosted endpoint at https://secretsmanager.us-east-1.amazonaws.com and Azure Key Vault at https://<vault-name>.vault.azure.net.

Other comparisons with AWS Secrets Manager or Azure Key Vault

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.