Softwr

Cloud · head to head

AWS Secrets Manager vs Lambda

AWS Secrets Manager logo

AWS Secrets Manager

Cloud

Managed store for database credentials and API keys with automatic rotation

From
$0.4/month
Free plan
No
Lambda logo

Lambda

Cloud

GPU supercomputers for AI training and inference at enterprise scale

From
$2.59/hour
Free plan
No

The short version

  • Lambda is an AI-only GPU cloud provider.
  • AWS Secrets Manager starts at $0.4/mo, Lambda at $2.59/mo.
  • Only AWS Secrets Manager lists automatic rotation; only Lambda lists 1-Click Clusters.
  • Where AWS Secrets Manager falls short: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage.
  • Where Lambda falls short: no free tier or trial, requiring immediate commitment for testing.

How do AWS Secrets Manager and Lambda differ?

AWS Secrets Manager and Lambda differ on starting price ($0.4/month against $2.59/hour) and pricing model. Only the attributes on which AWS Secrets Manager and Lambda actually diverge.

Attributes where AWS Secrets Manager and Lambda differ
AttributeAWS Secrets ManagerLambda
Starting price$0.4/month$2.59/hour
Pricing modelPer secret per month plus per 10,000 API callsPay-as-you-go hourly pricing with volume discounts for reserved capacity

Identical on both: free tier (No), platforms (Web).

Not yet recorded: category for AWS Secrets Manager, founded for AWS Secrets Manager.

Which features does each one have?

They share no listed features; 6 appear only for AWS Secrets Manager and 7 only for Lambda. 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 Lambda

  • Superclusters
  • 1-Click Clusters
  • On-demand instances
  • Liquid cooling
  • InfiniBand networking
  • Managed orchestration
  • Co-engineering support

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; Lambda for training foundation models at scale with dedicated GPU infrastructure. 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 Lambda
  • Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot Lambda
  • Replicating secrets to a second Region for disaster recoverynot Lambda
  • Centralising third-party API keys with audit logs for compliancenot Lambda

Lambda

  • Training foundation models at scale with dedicated GPU infrastructurenot AWS Secrets Manager
  • Large-scale inference serving on enterprise-grade hardwarenot AWS Secrets Manager
  • Multi-GPU distributed training with InfiniBand networkingnot AWS Secrets Manager
  • Single-tenant secure compute for regulated industriesnot AWS Secrets Manager
  • AI lab infrastructure for frontier model developmentnot AWS Secrets Manager

Where do AWS Secrets Manager and Lambda 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. Lambda's: no free tier or trial, requiring immediate commitment for testing. 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

Lambda

  • No free tier or trial, requiring immediate commitment for testing
  • Single-tenant Superclusters require custom pricing discussions
  • Pricing complexity across multiple GPU types and cluster sizes
  • Less suitable for experimentation or small teams with tight budgets

How much do AWS Secrets Manager and Lambda cost?

AWS Secrets Manager starts at $0.4/mo; Lambda starts at $2.59/mo. 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

Lambda

$2.59/hour
  • 1-Click Clusters B200On request
    • 16 GPUs: $9.86/GPU/hour
    • 256+ GPUs: $8.87/GPU/hour
    • 1-year+ reserved discounts available
  • 1-Click Clusters H100On request
    • 16 GPUs: $6.16/GPU/hour
    • 256+ GPUs: $5.54/GPU/hour
  • On-Demand Instances B200On request
    • SXM6: $6.69/GPU/hour
  • On-Demand Instances H100On request
    • SXM: $3.99/GPU/hour

Which should you pick?

Choose AWS Secrets Manager if

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

Choose Lambda if

  • You need superclusters.
  • You also want 1-click clusters.

Questions people ask

Is AWS Secrets Manager or Lambda better?
It depends on the job. AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes; Lambda fits training foundation models at scale with dedicated GPU infrastructure. AWS Secrets Manager starts at $0.4/month and Lambda at $2.59/hour.
Which is cheaper, AWS Secrets Manager or Lambda?
AWS Secrets Manager starts at $0.4/month and Lambda at $2.59/hour.
Does AWS Secrets Manager or Lambda run on more platforms?
Both run on Web, so platform support will not decide this one for you.
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 Lambda is typically brought in for.
What can AWS Secrets Manager do that Lambda cannot?
AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access. Lambda covers Superclusters, 1-Click Clusters, On-demand instances, Liquid cooling.

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.

Lambda: What makes Lambda's infrastructure different?

Lambda offers single-tenant Superclusters with exclusive GPU access, liquid cooling, and NVIDIA Quantum-2 InfiniBand networking. The company is 100% focused on AI infrastructure with co-engineering support from teams who built infrastructure for major AI labs.

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.

Lambda: How does pricing work for large clusters?

1-Click Clusters pricing ranges from $5.54-$9.86 per GPU/hour depending on GPU type and cluster size, with volume discounts for 256+ GPUs. Reserved capacity is available at custom pricing for 1-year+ commitments.

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.

Lambda: Which GPU types are available?

Lambda offers NVIDIA B200, H100, A100, and Tesla V100 GPUs. Individual instances range from V100 at $0.79/hour to B200 SXM6 at $6.69/hour. Newer models like Vera Rubin are available in Superclusters.

Source
Share

Related pages

Other head to heads