Softwr

Databases · head to head

AWS Secrets Manager vs Google Cloud Spanner

AWS Secrets Manager logo

AWS Secrets Manager

Databases

Managed store for database credentials and API keys with automatic rotation

From
$0.4/month
Free plan
No
Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes

The short version

  • Google Cloud Spanner is free; AWS Secrets Manager starts at $0.4/mo.
  • Only AWS Secrets Manager lists fine-grained access; only Google Cloud Spanner lists strong global consistency.
  • Where AWS Secrets Manager falls short: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.

How do AWS Secrets Manager and Google Cloud Spanner differ?

AWS Secrets Manager and Google Cloud Spanner differ on starting price ($0.4/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS Secrets Manager and Google Cloud Spanner actually diverge.

Attributes where AWS Secrets Manager and Google Cloud Spanner differ
AttributeAWS Secrets ManagerGoogle Cloud Spanner
Starting price$0.4/monthFree
Pricing modelPer secret per month plus per 10,000 API callsUsage-based
Free tierNoYes

Identical on both: platforms (Web).

Not yet recorded: category for AWS Secrets Manager.

Which features does each one have?

They share no listed features; 6 appear only for AWS Secrets Manager and 9 only for Google Cloud Spanner. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in AWS Secrets Manager

  • Automatic rotation
  • KMS encryption
  • Cross-Region replication
  • Fine-grained access
  • Audit trail
  • Versioning

Only in Google Cloud Spanner

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

What is each one used for?

AWS Secrets Manager is most often brought in for rotating RDS or Aurora database passwords on a schedule without code changes; Google Cloud Spanner for global transactional systems. The jobs each tool is most often brought in to do.

AWS Secrets Manager

  • Rotating RDS or Aurora database passwords on a schedule without code changesnot Google Cloud Spanner
  • Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot Google Cloud Spanner
  • Replicating secrets to a second Region for disaster recoverynot Google Cloud Spanner
  • Centralising third-party API keys with audit logs for compliancenot Google Cloud Spanner

Google Cloud Spanner

  • Global transactional systemsnot AWS Secrets Manager
  • Mission-critical apps needing 99.999% availabilitynot AWS Secrets Manager
  • Applications needing relational plus graph and vectornot AWS Secrets Manager
  • Real-time analytics on operational datanot AWS Secrets Manager
  • Scaling beyond a single database servernot AWS Secrets Manager

Where do AWS Secrets Manager and Google Cloud Spanner fall short?

AWS Secrets Manager's most cited limit: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage. Google Cloud Spanner's: pricing has compute, storage, replication and network components. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS Secrets Manager

  • The $0.40 per secret fee applies to every secret including rarely used ones, so organisations with thousands of per-service secrets see a steady monthly charge
  • Replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage
  • Rotation for anything other than the supported AWS databases means writing and maintaining your own Lambda function
  • It stores static secrets only; unlike HashiCorp Vault it does not issue short-lived dynamic credentials for many targets
  • It is AWS-only, so workloads on other clouds or on-premises must call AWS APIs across the network, tying their secret access to AWS availability

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

How much do AWS Secrets Manager and Google Cloud Spanner cost?

AWS Secrets Manager starts at $0.4/mo; Google Cloud Spanner is free to use. Plan by plan below, from each vendor's own pricing page.

AWS Secrets Manager

$0.4/month
  • Secrets$0.4/mo
    • $0.40 per secret per month, prorated hourly
    • Each replica secret is billed as a separate secret
  • API callsOn request
    • $0.05 per 10,000 API calls
    • Rotation, retrieval and management calls all count

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

Which should you pick?

Choose AWS Secrets Manager if

  • You need automatic rotation.
  • You also want kms encryption.

Choose Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

Questions people ask

Is AWS Secrets Manager or Google Cloud Spanner better?
It depends on the job. AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes; Google Cloud Spanner fits global transactional systems. AWS Secrets Manager starts at $0.4/month and Google Cloud Spanner at Free.
Which is cheaper, AWS Secrets Manager or Google Cloud Spanner?
Google Cloud Spanner has a free tier; the other does not. Paid plans start at $0.4/month for AWS Secrets Manager and Free for Google Cloud Spanner.
Does AWS Secrets Manager or Google Cloud Spanner run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Google Cloud Spanner for free?
Yes. Google Cloud Spanner has a free tier, so you can try it without paying. AWS Secrets Manager starts at $0.4/month.
What is AWS Secrets Manager best used for?
AWS Secrets Manager is most often used for rotating rds or aurora database passwords on a schedule without code changes, giving ecs tasks and lambda functions credentials at runtime instead of in environment files, replicating secrets to a second region for disaster recovery, centralising third-party api keys with audit logs for compliance. Of those, rotating rds or aurora database passwords on a schedule without code changes and giving ecs tasks and lambda functions credentials at runtime instead of in environment files are not what Google Cloud Spanner is typically brought in for.
What can AWS Secrets Manager do that Google Cloud Spanner cannot?
AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.

Answered from the vendors’ own pages

AWS Secrets Manager: How much does Secrets Manager cost?

$0.40 per secret per month and $0.05 per 10,000 API calls, per the AWS pricing page. A replica in another Region is billed as another secret.

Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

Source
AWS Secrets Manager: Is Secrets Manager cheaper than Parameter Store?

Parameter Store standard parameters carry no charge, so for static values that do not need rotation it is cheaper. Secrets Manager adds rotation and replication.

Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

Source
AWS Secrets Manager: Does it rotate secrets automatically?

Yes. It has managed rotation for supported AWS databases and uses Lambda functions for other secret types.

Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

Source
Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

Source
Share

Related pages

Other head to heads