AWS Secrets Manager vs Google Cloud Secret Manager: when each one fits
Start with two questions: where the workloads run, and who writes the rotation logic. If most workloads run in AWS and you want the service to handle rotation, AWS Secrets Manager is the better fit. Its managed rotation covers most managed secrets without a Lambda function, and other secrets rotate through a Lambda function that updates both the secret and the database or service. If workloads run on Google Cloud and your team can build and operate its own rotation, Google Cloud Secret Manager fits. It does not rotate values itself: it sends SECRET_ROTATE messages to Pub/Sub on the schedule, and your subscriber must create the new version and deploy it. Both are managed services reached through their cloud's endpoints, so neither is a store you run inside your own network.
Five factors decide the rest: workload location, secret count, API call volume, rotation effort and data residency. Location sets the quota ceiling. AWS allows up to 500,000 secrets per Region per account, does not let you raise that limit, and throttles cross-account requests. Google Cloud limits access to 90,000 requests and 600 reads and 600 writes per minute per project. Pricing uses different units. AWS charges $0.40 per secret per month and $0.05 per 10,000 API calls (AWS pricing page). Google Cloud charges $0.06 per active secret version per location per month and $0.03 per 10,000 access operations, with 6 active versions and 10,000 access operations free each month per billing account (Google Cloud pricing page). Multiply your own secret, version and location counts against these rates before comparing totals, and add the team hours needed to write and run Google Cloud rotation subscribers.
Data residency sets where each secret may live. In Google Cloud, a regional secret keeps data in one location for sovereignty requirements, while a global secret uses automatic or user-managed replication, and user-managed replication is billed for each location you select. In AWS, you choose the Region for each secret. Secret values use envelope encryption with an AWS KMS key, but names, descriptions, rotation settings and tags are not encrypted, so keep sensitive detail out of them. Google Cloud encrypts secrets with AES-256 by default and supports customer-managed keys in Cloud KMS. Before you decide, ask your compliance team which Regions and locations are in scope, confirm who controls the key, and check whether policy requires a store you run yourself. If it does, neither cloud service fits, and OpenBao is the next option to evaluate.
Which secrets manager fits each scenario
This table matches common deployment scenarios to the secrets manager that fits each one, along with the condition under which that fit holds. Read each row against your current workloads and confirm the condition before you choose. The main takeaway is that the cloud-native services fit single-cloud estates, while spanning clouds or isolated networks points to a self-hosted option.
| Scenario | Better fit | Why and the condition it depends on |
|---|---|---|
| Workloads mostly in AWS that need managed or Lambda rotation | AWS Secrets Manager | Managed rotation covers most managed secrets with no Lambda. Holds while your rotation targets are AWS-native services. |
| Workloads mostly on Google Cloud that already use Pub/Sub | Google Cloud Secret Manager | Sends rotation messages to Pub/Sub, but you write the subscriber that creates and deploys new versions. Holds if your team will own that code. |
| Data must stay in one location for residency rules | Google Cloud Secret Manager, regional secrets | Regional secrets keep data in one location. Holds if that single location satisfies your residency rule and your workloads run there. |
| Workloads spanning AWS, Google Cloud and on-premises systems | Self-hosted OpenBao or Infisical | Each cloud store belongs to one provider. Holds if one team will run the platform and carry its upkeep. |
| Isolated networks that cannot reach either cloud's endpoints | Self-hosted OpenBao | Cloud endpoints are unreachable, so the store must run inside the isolated network. Holds if you can patch, back up and unseal it there. |
AWS Secrets Manager vs Google Cloud Secret Manager pricing: what drives each bill
Both services bill on secret count, read volume and where secrets live, but the meters are built differently. AWS charges per secret and per call, while Google adds per-version, per-location and notification fees. The cards below explain each meter, the free allowances and the charges that sit outside the base rates. Confirm current rates on each pricing page before budgeting.
AWS bills per secret per month
AWS Secrets Manager charges a monthly fee for each secret you store, so the first input is your secret inventory. The rate is $0.40 per secret per month, with no upfront costs or long-term contracts. Copies of the same secret for each environment or account are separate secrets, and each one is billed. Also confirm how secrets pending deletion are billed during the recovery window, because that period can overlap with a migration.
Read the pricing pageAWS bills per 10,000 calls
Every read counts as an API call, metered at $0.05 per 10,000 API calls. Startup reads happen once per process, while a fetch on each request multiplies the count across replicas and environments. BatchGetSecretValue returns up to 20 secrets in one call, which can reduce calls for bootstrap reads, but CloudTrail still records one GetSecretValue entry per secret. Confirm on the pricing page how a batch call is counted before you model the bill.
Read the batch API referenceGoogle bills per active version
Google bills per secret version, not per secret: each active version costs $0.06 per active secret version per location per month. Every rotation or redeployment that adds a version increases the count until old versions are disabled or destroyed. The first 6 active versions are free each month per billing account, so a small estate may see little charge here. Confirm with the pricing page which version states count as active before you budget.
Read the Google pricing pageAccess and rotation notification fees
Access operations cost $0.03 per 10,000, and each rotation notification costs $0.05. The free allowances are 10,000 access operations and 3 rotation notifications per billing account each month. Secret Manager does not rotate values itself: it sends SECRET_ROTATE messages to Pub/Sub topics on schedule, so the subscriber that creates and deploys the new version is code you run and pay for separately. Compare how many secrets rotate each month against the free notifications.
Read the rotation docsReplication policy sets the location count
An automatic replication policy bills as one location, while a user-managed policy bills each selected location. In an illustrative case, a secret replicated to three locations pays the per-location version fee three times. Regional secrets keep data in one location, which can fit data sovereignty requirements. Confirm with your compliance team which secrets need a fixed location before you choose a replication policy for each secret.
Read the Secret Manager overviewKeys and rotation charges
Secret values are protected with a KMS key: AWS uses the managed key aws/secretsmanager by default or a symmetric customer managed key, and Google supports customer-managed encryption keys in Cloud KMS. Each key has its own charges, and AWS Lambda rotation runs a function you pay for separately. Ask each provider for key and function rates in your region, then add them to the secret, call and version totals before you budget.
How AWS Secrets Manager and Google Cloud Secret Manager compare on capability
This table compares how AWS Secrets Manager and Google Cloud Secret Manager handle encryption, rotation, replication, quotas, throughput, bulk reads and deletion. Read each row as a design question, since the rotation and replication rows often determine how much integration code your team must own. Confirm Google's deletion and batch read behavior in its current documentation before you plan a migration.
| Capability | AWS Secrets Manager | Google Cloud Secret Manager |
|---|---|---|
| Encryption and key control | Envelope encryption with a KMS key: the aws/secretsmanager managed key or a symmetric customer managed key | AES-256 at rest by default, or customer-managed encryption keys in Cloud KMS |
| Rotation | Managed rotation for most supported secrets, or a Lambda function that updates the secret and the database or service | No built-in rotation: SECRET_ROTATE messages go to Pub/Sub, and your subscriber creates the new version and deploys it |
| Replication and residency | Cross-Region replication of a secret; a primary secret cannot be deleted while it is replicated to other Regions | Global secrets with automatic or user-managed replication, plus regional secrets that keep data in one location |
| Limits | 500,000 secrets per Region per account, 100 versions per secret and 65,536-byte values; these quotas are not adjustable | 64 KiB per secret version, 90,000 access requests and 600 read and 600 write requests per minute per project |
| Throughput | GetSecretValue at 10,000 requests per second and BatchGetSecretValue at 100 requests per second per Region | Soft limits on adding versions: 2 per second per global secret and 80 per second per regional secret per region |
| Bulk read | BatchGetSecretValue retrieves up to 20 secrets per call, selected by name, ARN or filter | Confirm whether Google offers a batch read call in its current Secret Manager API documentation |
| Deletion | Deleted secrets enter a recovery window of at least seven days before permanent removal | Confirm deletion, recovery and destroy behavior for secret versions in Google's documentation |
Who writes the rotation code, and what that costs in team time
The largest operating difference is who writes the code that changes a secret's value. In AWS Secrets Manager, most managed secrets rotate with managed rotation, which needs no Lambda function. Other secrets use a rotation Lambda function that updates both the secret and the database or service it authenticates to, so your team owns that function, its IAM role, its network path to the target and its error handling. Google Cloud Secret Manager splits the work differently. It does not rotate values itself. On the schedule you set, it publishes a SECRET_ROTATE message to a Pub/Sub topic, and your team must build the subscriber that creates the new secret version and deploys it to every workload that reads the secret. Confirm the rotation path for each of your secret types in the AWS rotation documentation.
Effort depends on a few drivers you can count before choosing a platform. The first is the number of secret types, since each distinct database credential, API key or certificate type needs its own rotation path on either platform. The second is target coverage: which databases and services have a rotation template on the AWS side, and which will need custom code on Google Cloud, where every target is custom work. The third is test environments. A rotation that succeeds against a staging database still needs a rehearsed path against production-like targets and a documented rollback. The fourth is failure alerting and on-call ownership. A missed rotation fails quietly unless you alert on the Lambda error or the subscriber failure, track credential expiry, and name the team that gets paged.
Logging and recurring charges belong in the same estimate. AWS records a CloudTrail GetSecretValue entry for each secret read, including reads made through BatchGetSecretValue, so workloads that read many secrets produce large audit trails that your security team must retain and query. Confirm your trail configuration and retention before rotation volume grows. On Google Cloud, each rotation notification is billed after the free monthly allotment, so a short rotation schedule adds a recurring charge on top of the subscriber code. Ask for a written scope that lists each secret type, its rotation path, the target systems, who is paged on failure and the expected log volume, because the rotation code and its operation are the recurring cost on both platforms.
Where each service keeps secret data and what leaving involves
Both services keep secret values in a provider's cloud, so where data sits, how it is encrypted and how it can be read back out determine how hard leaving is. The cards below compare the two on those points, then describe what a move involves. Where Google's terms are not settled on this page, confirm them with Google before you decide.
Regional placement and replication
AWS Secrets Manager is reached through AWS Region endpoints, and a secret can be replicated to other Regions, so residency depends on which Regions hold copies. Google Cloud Secret Manager offers global secrets with automatic or user-managed replication and regional secrets that keep data in one location for data sovereignty requirements. Map every copy of each secret, including replicas, to the residency rules that apply to the data inside it.
Secret Manager overviewEncryption and key control
AWS Secrets Manager encrypts each value with envelope encryption under an AWS KMS key, either the AWS managed key aws/secretsmanager or a symmetric customer managed key you control. Names, descriptions, rotation settings and tags are not encrypted, so keep sensitive detail out of them. Google Cloud Secret Manager encrypts secrets at rest with AES-256 by default, and Cloud KMS customer-managed keys are an option. Decide who administers the key and whether policy requires your own key, then ask Google how it protects metadata.
Contract and billing terms
AWS publishes Secrets Manager pricing as a charge per secret per month plus a charge per 10,000 API calls, with no upfront costs or long-term contracts. Google bills active secret versions per location, access operations and rotation notifications, and a user-managed replication policy is charged for each selected location. Confirm Google's contract terms directly with Google, including any minimum commitments, renewal terms and how billing accounts are structured, before you compare totals.
Bulk export and read paths
AWS Secrets Manager has no bulk export, so values leave through reads. BatchGetSecretValue returns the SecretString or SecretBinary of up to 20 secrets per call, and CloudTrail logs a GetSecretValue entry for each secret, which gives you a per-secret audit trail for the move. Google bills access operations per 10,000 and sets per-minute read quotas per project, so confirm its read path and export options in the API documentation before you schedule the move.
BatchGetSecretValue referenceDeletion and recovery window
AWS Secrets Manager schedules deleted secrets after a recovery window of at least seven days, so a deleted value can be restored during that period. A primary secret cannot be deleted while it is replicated to other Regions, so remove replicas before you delete the primary. Plan decommissioning around that window, and confirm with Google how its deletion and retention behavior works before you rely on either service for recovery.
Delete a secret docsWhat leaving involves
Leaving means rebuilding rotation, because AWS rotates through managed rotation or a Lambda function that updates the secret and the target service. Google Cloud Secret Manager does not rotate values itself. It sends SECRET_ROTATE messages to Pub/Sub topics, so a subscriber you build must create the new version and deploy it. Workloads and identities must also be re-pointed to the new store, and a period of parallel running lets each consumer switch and verify before the old store is retired.
When a self-hosted option fits better than either service
A self-hosted secrets manager fits better than either AWS Secrets Manager or Google Cloud Secret Manager when secrets cannot stay under one cloud provider's control plane. Three conditions usually decide it: workloads spread across AWS, Google Cloud and on-premises systems, isolated or air-gapped networks that cannot reach a managed endpoint, or a requirement that the team run the store inside its own infrastructure. OpenBao is the closest open-source match to both services. It is licensed under MPL-2.0, managed under the Linux Foundation's OpenSSF, and provides encrypted key/value storage, dynamic secrets for Kubernetes and SQL databases, encryption as a service, and leasing with revocation. Infisical suits teams that want a dashboard per project and environment, syncs into GitHub, Vercel and AWS, and a Kubernetes operator and agent for delivering secrets to workloads. Its license is MIT Expat except for content in ee directories, which carry their own license, so confirm which directories you deploy.
Running either option moves the work from the provider's console to your own staff. For OpenBao on Kubernetes, the OpenBao Helm chart is the recommended installation path and requires Helm 3.6 or later. Your team then owns unseal key handling (who holds each key share, where it is stored and how the store is unsealed after a restart), high availability, the storage backend, patching, audit logging and backups. Name an owner for each item before go-live, because an unpatched or unrestorable instance fails your secrets and no provider will recover it for you. OpenBao's migration guide was tested only from Vault Community 1.14.1 on Raft storage with Shamir unseal, so if your current store differs, treat the upgrade path as untested and rehearse it in staging first. Infisical needs the same ownership for its backing data store, upgrades and backups, so confirm its supported deployment and database requirements in its documentation before you size the team.
Self-hosting removes the per-secret monthly fees and per-call charges that AWS Secrets Manager and Google Cloud Secret Manager bill, which matters most when secret counts or read volumes are high. It does not remove cost. Servers, storage, backup capacity and monitoring recur every month, and staff time for high availability, patching and upgrades recurs as well. Ask any implementation partner or internal team for a written breakdown of those components, and price each option against the same secret count, environment count and read rate. Keep the comparison like for like: a managed service bills for what your workloads read, while a self-hosted store bills for the capacity and people you keep available whether or not a secret is read that day.
What a move between the two cloud secrets managers involves
This sequence moves secret values, access rules and rotation from AWS Secrets Manager into Google Cloud Secret Manager while the AWS source stays readable. Each step produces a record or check that the next step depends on, so cutover happens only after the target has been proven. The result is an inventory-backed, staged move with a tested rollback path and a documented decommission.
Inventory secrets, versions and rotation methods
Platform engineers and secret owners build a register of every secret in scope. For each entry, record the owning workload, the consuming services, the version count, the KMS key, and whether rotation is AWS managed, Lambda based or absent. Decide which historical versions, if any, must carry over. Done when every owner has signed off the register and no secret is unassigned.
Choose target locations and replication policy
Decide per secret whether it is global or regional in Google Cloud Secret Manager. Regional secrets keep data in one location for data sovereignty requirements, while global secrets use automatic or user-managed replication. Automatic replication is billed as a single location, but a user-managed policy is charged for each selected location, so the choice affects cost. Done when the decision for each register entry is written down and checked against residency rules.
Read values out with BatchGetSecretValue
Run BatchGetSecretValue against the register, selecting up to 20 secrets per call by name, ARN or filter. Each secret returned also writes a CloudTrail GetSecretValue entry, so the export itself is auditable. The calling role needs read permission on the secrets and the KMS permissions that apply to the key that protects them. Write the export to an encrypted, access-restricted location and check that the count of returned values matches the register, with any failures listed for follow-up.
Create secrets and grant workload identities access
Create each secret in Google Cloud Secret Manager with the naming scheme from the register, and keep each JSON value as one payload or split it into separate secrets to match how workloads read it. Apply customer-managed keys in Cloud KMS where policy requires them. Grant each workload identity read access before cutover, and confirm the exact role in Google's IAM documentation. Each value must fit the 64 KiB payload limit. Done when every entry exists in the target and each workload identity reads a test version.
Rebuild rotation in Lambda or Pub/Sub
Rebuild each rotation as a Pub/Sub subscriber in Google Cloud. Secret Manager does not rotate values itself. It sends SECRET_ROTATE messages to a Pub/Sub topic on the rotation schedule, and your subscriber must create the new secret version and deploy it to the workload. Keep a Lambda function only where a rotation must still act on an AWS resource. Managed rotation in AWS has no Lambda, so decide per secret whether rotation is needed at all. Done when a test rotation creates a new version and the consuming workload reads it.
Switch workloads in stages with rollback
Move one consumer group at a time, starting with the lowest-risk workloads. Keep the AWS secret unchanged and readable until each group has run on Google Cloud values without errors, and freeze rotation changes on a secret during its move so there is one source of truth. The rollback path is a configuration change that points the group back at the AWS secret. Check Google quotas against peak access, including 600 read requests per minute per project. Done when every group has run through its stage and the rollback has been tested once.
Decommission the AWS source after deletion checks
Remove AWS replicas first, because a primary secret cannot be deleted while it is replicated to other Regions. Schedule each AWS secret for deletion, knowing that the recovery window is at least seven days before permanent removal. Keep the rollback path until cutover is accepted, then retire the AWS rotation Lambda functions and the IAM and KMS access they used. Confirm Google's deletion behavior in its documentation before you depend on it. Done when CloudTrail shows no workload reads of the AWS secrets and the decommission record is filed.
Decision path: which secrets manager fits your estate
The diagram starts from where the workloads run. If everything runs in AWS or everything runs in Google Cloud, it first asks whether an isolated network or a self-run requirement applies. If so, the path leads to OpenBao or Infisical. Otherwise it lands on the provider's own service. Workloads across clouds or on-premises go straight to the self-run pair, because a single managed service in one cloud cannot reach every system. On the managed branches, the last check is whether your team can own rotation code: AWS handles most rotation natively, while Google Cloud Secret Manager sends rotation messages that your own subscriber must act on.
Branch on workload location, then on isolation and self-run needs, then on rotation ownership.
Questions buyers ask before choosing or moving between secrets managers
Which costs more, AWS Secrets Manager or Google Cloud Secret Manager?
The answer depends on your own counts, so model both bills before comparing. AWS Secrets Manager charges $0.40 per secret per month and $0.05 per 10,000 API calls. 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, with 6 active versions, 10,000 access operations and 3 rotation notifications free each month per billing account. Google bills versions, so many versions and multi-location replication raise its cost, while AWS bills per secret. As an illustration, 100 secrets with one version each in one location cost $40.00 a month on AWS and $5.64 on Google before call, access and rotation charges. Confirm your call volume and replication assumptions on the Google Cloud Secret Manager pricing page and the AWS pricing page before you compare totals.
Does AWS Secrets Manager or Google Cloud Secret Manager require a long-term contract?
AWS Secrets Manager does not require a long-term contract: its pricing page lists no upfront costs or long-term contracts, so you pay per secret and per API call as usage accrues. The supplied pricing facts for Google Cloud Secret Manager do not state contract terms, so confirm them with Google Cloud before you sign anything. Ask whether your usage is billed pay-as-you-go through a billing account, which commitments or discounts apply, and whether any minimum spend is attached. Procurement should also check whether either service is bought through an existing cloud agreement, because that agreement may set the terms instead of the public pricing page.
How long does it take to move secrets out of AWS Secrets Manager?
The timeline depends on how many secrets you hold, how many use rotation, and how many workloads read them, so no single duration applies across estates. A written scope sets the timeline and the deliverables. Before that scope is agreed, your team should inventory secrets, decide which workloads move first, and identify the rotation logic that must be rebuilt. AWS has no bulk export, so values are read with BatchGetSecretValue, which returns up to 20 secrets per call, and each secret read logs a CloudTrail GetSecretValue entry. Deleted AWS secrets stay in a recovery window of at least seven days, so decommissioning should wait until the cutover is verified in production.
What does a secrets manager migration need from our own team?
Your team needs a complete inventory, a named owner for each workload, agreed change windows and on-call cover for the cutover. In practice, that means:
- A secret and identity inventory: every secret, every system that reads it, and the IAM roles, service accounts or Kubernetes identities that read it.
- An owner per workload who can confirm configuration, test the switch and approve the cutover.
- Change windows approved for each workload that reads secrets.
- On-call cover from platform, security and application teams during cutover and the first days after.
Gaps in these inputs change the work, so resolve them before the written scope is signed.
Can our own team migrate secrets to a self-hosted secrets manager alone?
Yes, if your team already runs IAM, key management and secret rotation, it can plan and run the move itself. Those skills match the main tasks: mapping identities, handling encryption keys and rebuilding rotation logic. Outside help is most useful for two points. The first is setting the scope, so the timeline and deliverables are clear before work starts. The second is the cutover, where a mistake can break production workloads. DeployOpen plans, implements, integrates and documents self-hosted platforms in your own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask any partner for a written scope and a named cutover plan before you decide.
What changes for a secrets manager on air-gapped networks?
A managed service depends on its provider's endpoints, so an isolated network needs a secrets manager your team runs itself. AWS Secrets Manager is reached through AWS Region endpoints, and Google Cloud Secret Manager is a Google-hosted service, so confirm how each behaves without internet access in your design. Self-run OpenBao can be installed offline, and the OpenBao migration guide describes Shamir unseal, which does not require a cloud key service. Plan for patching: OpenBao v2.7.1 was released on October 1, 2026 with security fixes, so your team needs an offline process to bring in new OpenBao releases. Audit logging and access reviews must be configured and run by your own staff, so ask your security team to approve that process before you choose.
Is AWS Secrets Manager hard to leave once workloads depend on it?
Leaving is manageable but takes deliberate work, because AWS has no bulk export and values must be read out one batch at a time. The BatchGetSecretValue API returns up to 20 secrets per call, selected by name, ARN or filter, and each secret returned logs a CloudTrail GetSecretValue entry, which gives you an audit trail of the exit. The IAM and KMS permissions for that read must be in place first. Deletion is not immediate: a recovery window of at least seven days applies, and a primary secret cannot be deleted while it is replicated to other Regions. For Google Cloud Secret Manager, the supplied facts do not describe an export path, so ask Google Cloud how values are extracted and test that the export is usable.
Does Google Cloud Secret Manager rotate secrets for us?
No, Google Cloud Secret Manager does not rotate secret values itself. It sends SECRET_ROTATE messages to Pub/Sub topics on the rotation schedule, and your team must build a subscriber that creates the new secret version and deploys it. AWS Secrets Manager offers managed rotation for most managed secrets, which does not use a Lambda function, and uses a Lambda function for other secrets that updates both the secret and the database or service. The difference shapes both cost and engineering effort: Google's rotation notifications are billed, and the subscriber becomes code your team must own. Before moving, list every rotation path and decide whether OpenBao's dynamic credentials or a static role replaces each one.
How DeployOpen helps you evaluate and implement the chosen secrets manager
DeployOpen helps teams compare AWS Secrets Manager and Google Cloud Secret Manager against self-hosted options such as OpenBao or Infisical, then plans, builds and hands over the one you choose inside your own infrastructure. The work is scoped in writing before it starts, so cloud accounts, regions, identity sources and audit requirements are settled first.
How we scope
- The written scope lists the AWS accounts, Google Cloud projects and workloads that read secrets today.
- Scope also covers the residency rules for each secret, including whether a regional or single-location setup is required.
- Engagements are fixed-scope, with deliverables agreed in writing before work starts, and ongoing support is offered as a retainer.
How we build
- For self-hosted choices, we deploy in your cloud accounts, data centers or air-gapped network with SSO and audit logging.
- For managed services, we map IAM or Google Cloud IAM roles, KMS keys and rotation paths to each workload.
- Integration work covers application connectors, CI pipelines and Kubernetes delivery, tested against your workloads before cutover.
How we hand over
- Written documentation covers architecture, access model, key handling, backup and recovery, and the runbooks your operators will use.
- Compliance readiness evidence is prepared for your independent auditor, who issues any report or certification.
- Security testing of the final configuration can run before handover, with fixes retested before go-live.
How we support
- Upgrades, backups and patching for self-hosted platforms are available under a retainer, scoped in writing.
- Continuous security testing can cover rotation paths, access policies and the secrets exposed to your CI pipelines.
- Scope changes, such as a new Region or secret store, are agreed as a written change before work proceeds.

