Azure Key Vault vs Google Cloud Secret Manager: which fits your secrets workload
A team that must pick a managed secrets service for one cloud should start with the cloud where its workloads already run, because the two services are built for different estates. Azure Key Vault fits Azure estates that also need keys, certificates and HSM-backed options, since one vault holds secrets, keys and certificates and can be backed by Managed HSM pools. Google Cloud Secret Manager fits Google Cloud estates that mainly store and read secret values, with encryption keys managed in Cloud KMS as a separate service. The choice then turns on where the data must stay, how many clouds the secrets must serve, how rotation is handled and how many operations the workload makes.
Four checks settle most of the decision. Start with data location: a Secret Manager regional secret keeps data in one location, while a user-managed replication policy is charged for each selected location, so list where each secret must live first. Key Vault backups restore only into a key vault in the same Azure subscription and geography. Next, count clouds: if workloads in both Azure and Google Cloud read the same secrets, decide early whether to run two managed services or one self-hosted service that both clouds reach. For rotation, Secret Manager sends SECRET_ROTATE messages to Pub/Sub and leaves your subscriber to create and deploy the new version, while Key Vault bills each automated key rotation. Finally, count reads per secret per day, since both services bill per 10,000 access operations.
Which Azure Key Vault vs Google Cloud Secret Manager scenario fits your team
This table maps common team situations to the service that usually fits better, with the condition under which each advantage matters. Read the Why column first, because a fit only holds when that condition is true for your estate. The main takeaway is that Key Vault suits Azure estates and HSM-backed keys, Secret Manager suits Google Cloud estates and regional residency, and mixed estates need a shared layer that neither service provides alone.
| Scenario | Better fit | Why |
|---|---|---|
| One-cloud Azure estate | Azure Key Vault | Matters when workloads run in Azure and identity runs through Entra ID and managed identities, so fewer separate credentials need managing. |
| One-cloud Google Cloud estate | Google Cloud Secret Manager | Matters when workloads run on Google Cloud and access is governed by IAM, with customer-managed keys in Cloud KMS available. |
| Certificates and HSM-backed keys | Azure Key Vault | Matters when keys or certificates, not only secret values, need HSM protection; Key Vault bills HSM-protected keys per key per month. |
| Regional data residency | Google Cloud Secret Manager | Matters when rules fix data to one location: regional secrets stay in that location. Check Key Vault placement and backup geography. |
| Multi-cloud or on-premises workloads | Neither service alone is the full answer | Matters when workloads span clouds or data centers: each service serves its own cloud, so plan a shared self-hosted layer such as OpenBao or Infisical. |
| Rotation-heavy key workloads | Azure Key Vault | Matters when keys need scheduled rotation: Key Vault bills automated key rotation per rotation, while Secret Manager only sends Pub/Sub messages you must act on. |
| Low-volume secret values | Google Cloud Secret Manager | Matters when volumes are small: Google's pricing page lists 6 active versions and 10,000 access operations free per billing account monthly. |
How to work through the choice between the two services and a self-hosted route
The path starts with where the secrets must run. A single-cloud Azure or Google Cloud estate leads to its native service, Azure Key Vault or Google Cloud Secret Manager, but each native branch first passes the data residency and exit control check, because a region-bound or hard-to-export store can rule out a managed option. Multi-cloud or on-premises estates go to a self-hosted OpenBao or Infisical route. Before you choose, confirm the regions your data must stay in, how backups restore, and whether your team can operate the platform.
Decision path from where secrets must run to a managed or self-hosted option.
How Azure Key Vault and Google Cloud Secret Manager compare on capabilities
This table compares the capabilities that usually come up in a renewal, residency or exit review, from object types and encryption to throttling and payload size. Where a cell says to confirm, ask the vendor before you design around it. The main takeaway is that both services set their boundaries at different levels, so vault, region, subscription and project choices shape recovery, residency and throughput.
| Capability | Azure Key Vault | Google Cloud Secret Manager |
|---|---|---|
| Object types | Secrets, keys and certificates in one vault, with certificate renewals billed separately. | Secrets and secret versions. Confirm with Google whether keys or certificates are in scope. |
| Encryption and customer-managed keys | Keys can be software-protected or HSM-protected (Premium tier or Managed HSM). Confirm customer-managed key options for your services. | Encrypted at rest with AES-256 by default. Supports customer-managed encryption keys in Cloud KMS. |
| Regional and data location controls | Backups restore only in the same subscription and Azure geography. Confirm vault region and residency options with Microsoft. | Global secrets use automatic or user-managed replication. Regional secrets keep data in one location. |
| Rotation handling | Automated key rotation is billed per rotation. Confirm secret rotation options with Microsoft for your workloads. | Does not change secret values. Sends SECRET_ROTATE messages to Pub/Sub; your subscriber creates the new version. |
| Backup and recovery | Encrypted blob per object, restorable only in the same subscription and geography. Objects over 500 versions cannot be backed up. | Confirm backup and export options with Google for your secret volume and versions. |
| Deletion safeguards | Soft delete is on by default and cannot be disabled. Retention runs 7 to 90 days, 90 by default; purge protection blocks early purge. | Confirm deletion, recovery window and purge behavior for secrets with Google before you rely on it. |
| Throttling limits | 4,000 secret and other transactions per vault per region in 10 seconds; 300 combined create or import operations per 10 seconds. | 90,000 access, 600 read and 600 write requests per minute per project. Adding versions is softly limited per secret. |
| Payload size | Confirm the maximum secret value size with Microsoft before designing large payloads. | 64 KiB per secret version. |
| Billing unit | Per 10,000 secret and software-key operations, $0.03 in East US (Azure retail prices); HSM keys and pools billed separately. | $0.06 per active secret version per location per month; $0.03 per 10,000 access operations (Google Cloud pricing page). |
Azure Key Vault vs Google Cloud Secret Manager pricing: what each bill counts
Azure bills per operation, key, certificate renewal and HSM pool hour, while Google bills per active secret version, access operation and rotation notification. The rates below come from the Azure Retail Prices API for Key Vault in East US and from Google's Secret Manager pricing page. Confirm your region and currency on each vendor's price page before you compare totals.
Azure secret and software-key operations
Standard and Premium tiers carry the same secret and software-key rate in East US, according to the Azure Retail Prices API for Key Vault. Advanced key operations cost $0.15 per 10,000 at the same location. Pull a full month of operation counts from your logs and multiply by the rate. Check whether services cache secrets or fetch them on every start, because that setting moves the count more than the unit price does.
- Per 10,000 operations
- $0.03
Azure HSM-protected keys
Premium tier HSM-protected RSA 2048-bit keys are billed per key per month at the East US rate listed by the Azure Retail Prices API for Key Vault. Microsoft's pricing page counts a key only when it was used in the prior 30 days, and each key version is counted separately. Export your key inventory with last-use dates before you forecast, because a rotated key that keeps old versions can be counted more than once.
- Per key per month
- $1
Azure certificate renewal requests
Each certificate renewal request is billed individually at the East US rate listed by the Azure Retail Prices API for Key Vault. Scheduled renewals add up across every certificate in a vault, so count certificates and their lifetimes, not only the ones your team manages directly. Confirm whether your certificate authority integration triggers renewals through Key Vault or through the application, and ask Microsoft which requests the meter counts before you forecast.
- Per renewal request
- $3
Automated rotation and Managed HSM pools
Key Vault bills automated key rotation per rotation, and Managed HSM Standard B1 pools at $3.20 per hour in East US, according to the Azure Retail Prices API for Key Vault. Microsoft's pricing page bills each Managed HSM pool as an hourly fee, so a pool kept running for idle test environments accrues cost every hour. Ask which workloads need a dedicated HSM pool for compliance and which can use a standard vault, then price each pool for a full month.
- Per automated rotation
- $1
Google active secret versions and replication
Google bills each active secret version per location per month, with 6 active versions free each month per billing account, according to Google's Secret Manager pricing page. An automatic replication policy is billed as a single location, while a user-managed policy is billed for every selected location. Disable or destroy old versions you no longer need, because active versions keep billing. Choose the replication policy with your data residency rules in mind, since the number of locations sets the multiplier.
- Per active version monthly
- $0.06
Google access and rotation notifications
Google charges per 10,000 access operations and $0.05 per rotation notification, with 10,000 access operations and 3 rotation notifications free each month per billing account. Secret Manager sends rotation messages to Pub/Sub on schedule but does not rotate the value itself, so your team must build and run a subscriber that creates the new version and deploys it. Budget engineering time for that subscriber alongside the notification charge, and confirm the free allowances on the pricing page.
- Per 10,000 access operations
- $0.03
What drives each bill up or down, and what to ask for in a quote
Both bills split into charges for what you keep and charges for what you do. In Azure Key Vault, East US retail prices list 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 certificate renewal requests at $3 each. Premium HSM-protected RSA 2048-bit keys cost $1 per key per month, billed only for keys used in the prior 30 days, with each key version counted separately. Each Managed HSM Standard B1 pool costs $3.20 per hour for as long as it runs. Google Cloud Secret Manager bills $0.06 per active secret version per location per month, plus $0.03 per 10,000 access operations and $0.05 per rotation notification. Each billing account gets 6 active versions, 10,000 access operations and 3 rotation notifications free each month.
Six levers move the total most. Operation volume is the largest variable in both services, so an application that fetches secrets on every request multiplies the per-10,000 charge, and caching reduces it. On Google, each active secret version bills per location every month, so destroying versions you no longer need lowers the bill. Replication is the setting most likely to surprise: an automatic policy bills as one location, while a user-managed policy bills each selected location, so an illustrative three-location policy triples the version charge. Rotation and renewals add per-event charges: $1 per Azure automated key rotation, $3 per Azure certificate renewal request and $0.05 per Google rotation notification. Managed HSM pool hours accrue whether or not traffic arrives, so idle pools are the easiest saving.
Before comparing totals, ask Microsoft or Google for the terms that change list prices. Ask whether an enterprise agreement or committed use commitment applies to Key Vault or Secret Manager, what discount or commitment structure applies, and whether regional rates differ for the regions you need. The published figures above do not show these terms, so get them in writing. Also ask how Premium HSM key counting and Managed HSM pool hours are billed in your region, whether Google free allowances apply per billing account across your projects, and what your rotation subscriber costs to run, since Secret Manager sends the notification but your code creates and deploys the new version. Check the list rates you are quoting against the Google Cloud Secret Manager pricing page.
Where secrets are stored and what leaving each service involves
Secrets managers differ most in where data can sit, how it can be recovered and what you must build yourself. The four cards compare Key Vault's backup and deletion behavior with Secret Manager's location controls and rotation model. Confirm contract and export terms with each vendor before planning a move, since these notes reflect published documentation only.
Key Vault backup and restore limits
A Key Vault backup downloads each object as an encrypted blob that cannot be decrypted outside Azure. It restores only into a key vault in the same Azure subscription and Azure geography. Key Vault cannot back up a whole vault in one operation, so you must back up each object yourself. Objects with more versions than the ceiling cannot be backed up at all. For an exit, plan a separate read path for values, because a backup is recovery inside Azure only.
- Version limit per object
- 500
Soft delete and purge protection
Soft delete is on by default for new key vaults and cannot be disabled once enabled. Deleted vaults and objects stay recoverable for the retention period, which defaults to the maximum. Purge protection, when enabled, blocks purging until that period passes, so deleted material cannot be removed early. Before you remove a vault, check the retention clock, since recovery and purge timing both depend on it.
- Retention window
- 7 to 90 days
Secret Manager data location
Secret Manager offers regional secrets that keep data in one location, which matters where data sovereignty rules apply. Global secrets use automatic or user-managed replication instead. Secrets are encrypted at rest with AES-256 by default, and you can supply customer-managed encryption keys in Cloud KMS. Billing follows location too: an automatic replication policy bills as one location, while a user-managed policy bills for each selected location. Confirm which locations your residency rules accept before you choose a secret type.
- Per version per location
- $0.06
Rotation subscriber and Cloud KMS keys
Secret Manager does not rotate secret values itself. On the rotation schedule it sends SECRET_ROTATE messages to Pub/Sub topics, so you must build a subscriber that creates the new secret version and deploys it to consumers. Monitor that subscriber as part of operations, since a failed rotation is yours to detect. If you use customer-managed keys, plan for the Cloud KMS keys too, because disabling or losing them affects access to the secrets they protect.
- Free notifications monthly
- 3
What a move between Azure Key Vault and Google Cloud Secret Manager involves
This sequence moves secrets, keys, certificates and their consumers from Azure Key Vault to Google Cloud Secret Manager while keeping production workloads running. Each step ends with a written output that the owning team can check before the next step begins. Duration and effort depend on object counts and consumers, so ask for them in the written scope.
Inventory secrets, versions, keys, certificates and consumers
List every secret, key and certificate in each vault, with its version count, enabled state and owner. Key Vault cannot back up an object with more than 500 versions, and previous versions cannot be deleted, so flag high-version objects early. Map each consumer by reading role assignments, app settings, Key Vault references, pipeline variables and certificate bindings. The step is done when every object has an owner, a consumer list and a version count, and the owning teams have signed off the list. Ask for effort and duration in the written scope, since they depend on object count and consumers.
Choose target locations and replication
Map each object class to a Secret Manager resource and location. Global secrets use automatic replication, which is billed as a single location, or user-managed replication, which is charged for each selected location. Regional secrets keep data in one location, which matters where data sovereignty rules apply. Secrets are encrypted at rest with AES-256 by default, and customer-managed keys in Cloud KMS are available if policy requires them. Keys and certificates may need a different home, since Secret Manager stores secret values, so confirm that target separately. The step closes with a signed location and replication decision for each data class, reviewed by the data protection owner.
Plan the export path for each object
Backup blobs cannot carry objects across clouds, because a Key Vault backup restores only into a key vault in the same Azure subscription and geography. Plan instead to read secret values through the API under a logged, approved process, and check each value against the 64 KiB payload limit per secret version. Keys and certificates may need to be re-created or re-issued, so handle them as separate work. Record each object's source version, transfer time and approver. The step is done when a runbook exists for each object type and the transfer log matches the inventory.
Rebuild rotation as a Secret Manager subscriber
Secret Manager does not rotate values itself. On the rotation schedule it publishes SECRET_ROTATE messages to a Pub/Sub topic, so a subscriber must generate the new value, add it as a secret version and deploy it to consumers. Rotation configured in Key Vault does not carry over and has to be rebuilt. Respect the add-version limits, which are soft limits of 2 queries per second per global secret and 80 per second per regional secret in each region. Test each rotation in a non-production project, and confirm that failures raise an alert and that the previous version stays available for rollback. The step is done when every rotated secret has a tested subscriber and a documented rollback.
Run both stores in parallel, then cut over
Write new values to both stores during an agreed window, and keep Key Vault as the read source until cutover. Move consumers in stages, starting with non-production, then lower-risk services, then critical ones. Test throughput against both sets of limits, including Key Vault's 4,000 transactions per vault per region in 10 seconds and Secret Manager's 600 read requests per minute per project. Each group needs a switch record, a rollback path and monitoring that shows reads from the new store. The step is done when every group reads from Secret Manager and monitoring stays clean through an observation period.
Retire the vault after retention planning
Soft delete is on by default for new key vaults and cannot be disabled once enabled. Deleted vaults and objects stay recoverable for 7 to 90 days, with 90 as the default, and purge protection, when enabled, blocks purging until that period ends. Plan for this before deletion, and confirm with the security team how long recovery must remain available. Retire only after audit logs show no consumers have read the vault for an agreed period and the final export is verified. The step is done when a dated decommission record, a retention decision and a final export check are signed by the owner.
When a self-hosted OpenBao or Infisical route fits better than either service
A self-hosted route fits better than either cloud service when your secrets span more than one provider. If workloads run in Azure, Google Cloud and on-premises systems, one OpenBao or Infisical service can serve all three, while each cloud secrets manager stays tied to its own provider's identity model and billing. The same reasoning applies when secret data must stay inside your own infrastructure for residency or audit reasons, or when per-operation billing grows faster than the workloads it supports. OpenBao is a community-governed fork of HashiCorp Vault licensed under MPL 2.0, and its v2.7.1 release came out on October 1, 2026. Infisical is MIT licensed except for the ee directory, which carries a separate license, and v0.166.8 was published on October 15, 2026. Read the ee/LICENSE terms before you plan to use any code from that directory.
Running either product means owning the platform. Plan for the servers or Kubernetes nodes, the storage backend and the unseal process, including who holds unseal material and how you test recovery after a restart. You also need high availability, backups you control and can restore into a fresh environment, upgrades on a schedule you set, on-call coverage for outages that a cloud provider would otherwise absorb, and identity integration with your cloud IAM, SSO and workload authentication. On Kubernetes, the OpenBao Helm chart guide is the documented install path and requires Helm 3.6 or later. Self-hosting moves cost from per-operation fees to operating effort, so the recurring bill becomes infrastructure and engineering time. Before choosing, confirm which dynamic secret engines you need, and whether your key custody rules require an HSM, because the answer for OpenBao and for Infisical may differ and determines the design.
Azure Key Vault vs Google Cloud Secret Manager: what buyers ask before switching
Is Azure Key Vault or Google Cloud Secret Manager cheaper for secrets?
Neither is cheaper in every case, because the answer depends on how many secrets, versions, locations and operations you run. Azure Key Vault's East US retail list prices charge $0.03 per 10,000 secret and software-key operations on both Standard and Premium tiers, $0.15 per 10,000 advanced key operations and $3 per certificate renewal request. Google Cloud Secret Manager charges $0.06 per active secret version per location per month, $0.03 per 10,000 access operations and $0.05 per rotation notification. Google includes 6 active versions, 10,000 access operations and 3 rotation notifications free each month per billing account. A user-managed replication policy is billed for each selected location, while an automatic policy is billed as one location. Count your secrets, versions, reads and rotations per month, then price both rate sheets with those numbers. Google Cloud Secret Manager pricing
Does Google Cloud Secret Manager cover certificates and keys too?
Confirm this in writing with Google before you plan the move. The Secret Manager documentation centers on secrets, their versions, access, replication and rotation notifications. Its overview says secrets are encrypted at rest with AES-256 by default and that customer-managed encryption keys can come from Cloud KMS. Whether certificate issuance, certificate renewal or key creation is in scope for your workload is a question to put to Google directly. Azure Key Vault holds secrets, keys and certificates in one service, so inventory every key and certificate object in each vault and map each one to a named destination. Secret Manager also does not rotate secret values itself. Any rotation you rely on today needs a subscriber that you build and operate.
How long does moving from Key Vault to Google Secret Manager take?
No fixed duration applies, because the timeline follows the written scope and the inventory behind it. Four factors set it:
- The number of consumers that read each vault, including pipelines, Kubernetes workloads and App Service bindings.
- Whether rotation must be rebuilt, since Secret Manager sends SECRET_ROTATE messages to Pub/Sub topics and your subscriber must create and deploy the new secret version.
- Which keys can be exported and which must be re-created.
- Change windows, approvals and the validation period after each cutover.
Ask for a schedule tied to a named inventory and a cutover order, so you can check each assumption against your own environment.
Can our own team move off Key Vault without an outside partner?
Some teams can, particularly with a small and well-documented estate, but three things must be in place before anyone changes code:
- An owner for identity, who maps each managed identity and Entra ID grant to the equivalent access control on the Google side, confirmed against Google's current documentation.
- An inventory of consumers, listing every application, pipeline and certificate binding that reads a vault.
- A change window for each consumer, with a tested rollback.
Key Vault backups restore only into a key vault in the same Azure subscription and geography, and a backup blob cannot be decrypted outside Azure. Plan to read secret values through the API. Teams without Pub/Sub or IAM experience should plan for that skill gap in their own staffing.
Is a self-hosted OpenBao or Infisical cheaper at our volume?
It depends on whether your fixed platform costs and operating effort fall below the per-operation, per-version and per-location charges at your volume. Confirm the break-even point with your own counts, because no figure is given here. The cost components are:
- Compute and storage for the backend, paid to your cloud provider or data center vendor.
- Optional HSM or KMS hardware, if key protection requires it.
- Setup, integration and hardening labor, which is largely one-time.
- Upgrades, backups, monitoring and on-call coverage, which recur.
High availability, HSM use and the number of environments push cost up. OpenBao is licensed under MPL 2.0, and Infisical's core is MIT licensed, with content in its ee directory under a separate license. Ask any implementation partner to quote setup and run costs as separate line items.
What contract terms should we request from each secrets vendor?
Request these terms in writing from each vendor, since they vary by agreement:
- Notice periods for price changes, and whether the rate card can change during the term.
- The export format for your data and how long you can access it after termination.
- Where secrets are stored and replicated, and whether you can pin them to one location.
- Support scope and response commitments, written into the contract.
- Termination assistance, minimum commitments and overage terms.
For HashiCorp Vault, ask which license applies to the version you deploy. HashiCorp announced in August 2023 that future releases move to the Business Source License 1.1, while its APIs and SDKs stay under MPL 2.0. IBM completed its acquisition of HashiCorp on February 27, 2025. Confirm each term with the vendor's current paperwork.
What does DeployOpen do in a fixed-scope evaluation of this switch?
DeployOpen works from a written scope agreed before any work starts, so deliverables and timelines are set in that document. Within the scope you define, DeployOpen can plan the move, inventory consumers and map identities. It can also plan, implement, integrate, harden and document a self-hosted OpenBao or Infisical deployment in your own cloud accounts, data centers or air-gapped networks. Where your compliance team needs evidence, DeployOpen prepares systems, controls and documentation for review. It does not issue audit reports, attestations or certifications, which independent auditors and certification bodies provide. DeployOpen does not publish a price list, and a quote follows from the written scope. DeployOpen is not an official partner of any vendor named on this page.
How DeployOpen helps you evaluate, implement and integrate a secrets platform
DeployOpen plans, implements, integrates and supports self-hosted open-source secrets platforms inside your own cloud accounts, data centers or air-gapped networks. For a move away from Azure Key Vault or Google Cloud Secret Manager, we start by mapping how your secrets, keys, certificates and applications use each service today, then agree the scope in writing before work begins. The output is a platform your security and compliance teams can review, with the evidence prepared for them.
How we scope
- We map which Key Vault or Secret Manager objects each application, pipeline and workload reads.
- The written scope names the vaults, projects, regions and data classes in the move, agreed before work starts.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We deploy OpenBao or Infisical in your own accounts and data centers, then harden and back up the service.
- We replace Azure managed identity and Google service account access with the auth methods each workload will use.
- Secret placement and regional residency requirements are mapped and configured in the new platform and checked in testing.
How we hand over
- Export plans account for the 500-version backup limit and for Key Vault backups that restore only in the same geography.
- Rotation on Google Cloud Secret Manager is handled by a subscriber we build, since the service only sends notifications.
- Handover includes architecture, configuration, access model and evidence files your compliance team can review.
How we support
- Ongoing support, upgrades and continuous testing are available under a retainer after cutover.
- Compliance readiness work prepares controls and evidence for your assessors; DeployOpen does not issue audit reports or certifications.
- Security testing covers the new platform's access policies, auth methods and rotation jobs, with retests after fixes.

