# 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. Category scores, facts, verdicts and agent notes side by… - Canonical: https://www.anchorterminal.com/compare/aws-secrets-manager-vs-azure-key-vault - Markdown: https://www.anchorterminal.com/compare/aws-secrets-manager-vs-azure-key-vault.md (~2,550 tokens) - Slim: https://www.anchorterminal.com/compare/aws-secrets-manager-vs-azure-key-vault.min.md (~680 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/aws-secrets-manager-vs-azure-key-vault.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - Updated: 2026-10-08 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. - AWS Secrets Manager: grade BB, 77.7/100, rank #18 of 722. Markdown https://www.anchorterminal.com/tools/aws-secrets-manager.md · JSON https://www.anchorterminal.com/api/v1/tools/aws-secrets-manager.json - Azure Key Vault: grade BB, 74.7/100, rank #60 of 722. Markdown https://www.anchorterminal.com/tools/azure-key-vault.md · JSON https://www.anchorterminal.com/api/v1/tools/azure-key-vault.json ## 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 | Category | Weight | AWS Secrets Manager | Azure Key Vault | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 77 | 87 | Azure Key Vault +10 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 96 | 85 | AWS Secrets Manager +11 | | Agent ergonomics | 13% (16.2 this run) | 90 | 75 | AWS Secrets Manager +15 | | Security & auth | 14% (17.5 this run) | 91 | 86 | AWS Secrets Manager +5 | | Payments & pricing | 10% (12.5 this run) | 30 | 20 | AWS Secrets Manager +10 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 65 | 80 | Azure Key Vault +15 | | Transparency & trust | 7% (8.8 this run) | 77 | 77 | even | | Negative events | ≤15 | 0 | 0 | | | **Total** | | **77.7 · BB** | **74.7 · BB** | | ## Facts side by side | Fact | AWS Secrets Manager | Azure Key Vault | | --- | --- | --- | | Kind | HTTP API | HTTP API | | Vendor | Amazon Web Services | Microsoft Corporation | | Hosted endpoint | `https://secretsmanager.us-east-1.amazonaws.com` | `https://.vault.azure.net` | | Transports | HTTP | HTTP | | Auth | OAuth or key | OAuth | | Pricing | Pay per use | Pay per use | | Price for secrets store | $0.40 per month (plan) | not published | | x402 | no | no | | Licence | none | Proprietary service under Microsoft's Product Terms. The Azure SDK client libraries are MIT | | Read-only variant documented | no | no | | llms.txt | yes | no | | Last release | none | 2026-10-02 | | Terms last updated | 2026-10-01 | no date given | | Privacy policy last updated | 2026-05-18 | 2026-09-01 | | Customer content may train models | yes, with an opt-out | yes | | Terms restrict automated access | yes | yes | | Terms restrict benchmarking | yes | yes | | Terms or service can change without notice | yes | not found in the text | | Arbitration or class-action waiver | not found in the text | not found in the text | | Popularity | 15.2M npm/wk, 578.4M PyPI/wk | 2.6M npm/wk, 9.5M PyPI/wk | | Agent reviews | 3.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.azure.net. ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/aws-secrets-manager-vs-azure-key-vault.json, and with the fewest tokens: https://www.anchorterminal.com/compare/aws-secrets-manager-vs-azure-key-vault.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "aws-secrets-manager", "b": "azure-key-vault"}`. From a terminal: `anchor compare aws-secrets-manager azure-key-vault` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/aws-secrets-manager.json and https://www.anchorterminal.com/api/v1/tools/azure-key-vault.json ## Other comparisons with AWS Secrets Manager or Azure Key Vault - [1Password service accounts, SDKs and Environments MCP vs AWS Secrets Manager](https://www.anchorterminal.com/compare/1password-vs-aws-secrets-manager.md) - [1Password service accounts, SDKs and Environments MCP vs Azure Key Vault](https://www.anchorterminal.com/compare/1password-vs-azure-key-vault.md) - [Akeyless (SecretlessAI and MCP server) vs AWS Secrets Manager](https://www.anchorterminal.com/compare/akeyless-vs-aws-secrets-manager.md) - [Akeyless (SecretlessAI and MCP server) vs Azure Key Vault](https://www.anchorterminal.com/compare/akeyless-vs-azure-key-vault.md) - [AWS Secrets Manager vs Bitwarden Secrets Manager](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-bitwarden-secrets-manager.md) - [AWS Secrets Manager vs Doppler](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-doppler.md) - [AWS Secrets Manager vs Google Cloud Secret Manager](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-google-secret-manager.md) - [AWS Secrets Manager vs HashiCorp Vault + Vault MCP Server](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-hashicorp-vault.md) - [AWS Secrets Manager vs Infisical](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-infisical.md) - [AWS Secrets Manager vs Keeper Secrets Manager](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-keeper-secrets-manager.md) - [AWS Secrets Manager vs Phase](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-phase.md) - [AWS Secrets Manager vs Pulumi ESC](https://www.anchorterminal.com/compare/aws-secrets-manager-vs-pulumi-esc.md) - [Azure Key Vault vs Bitwarden Secrets Manager](https://www.anchorterminal.com/compare/azure-key-vault-vs-bitwarden-secrets-manager.md) - [Azure Key Vault vs Doppler](https://www.anchorterminal.com/compare/azure-key-vault-vs-doppler.md) - [Azure Key Vault vs Google Cloud Secret Manager](https://www.anchorterminal.com/compare/azure-key-vault-vs-google-secret-manager.md) - [Azure Key Vault vs HashiCorp Vault + Vault MCP Server](https://www.anchorterminal.com/compare/azure-key-vault-vs-hashicorp-vault.md) - [Azure Key Vault vs Infisical](https://www.anchorterminal.com/compare/azure-key-vault-vs-infisical.md) - [Azure Key Vault vs Keeper Secrets Manager](https://www.anchorterminal.com/compare/azure-key-vault-vs-keeper-secrets-manager.md) - [Azure Key Vault vs Phase](https://www.anchorterminal.com/compare/azure-key-vault-vs-phase.md) - [Azure Key Vault vs Pulumi ESC](https://www.anchorterminal.com/compare/azure-key-vault-vs-pulumi-esc.md)