Back to blog
Published
2026-10-20
Reading time
5 min
Tags
FinOps
AWS
Secrets Manager
Parameter Store
Security
CostOptimization

Secrets Manager or Parameter Store: when each one is worth it

Sooner or later every AWS account faces the same question: does this value go in Secrets Manager or in Parameter Store? The usual answer is "secrets go in Secrets Manager", and the bill slowly fills up with $0.40 line items. Both services do the same basic job; the difference, and the price, is in what each one adds on top.

The basics are the same

Both store values encrypted with KMS (the default keys, aws/secretsmanager and aws/ssm, cost nothing), control access with IAM, keep versions, and can be read from the SDK or the CLI.

Parameter Store is the Systems Manager key-value store: it uses hierarchical names (/prod/api/key) and has a SecureString type encrypted with KMS. Standard parameters are free.

Secrets Manager is designed for credentials: a secret can hold a JSON with several keys, and it adds automatic rotation (with ready-made templates for RDS, Redshift and DocumentDB), multi-region replication and cross-account access.

Price comparison

Unit prices:

Parameter Store (standard) Secrets Manager
Storage Free (up to 10,000 parameters of up to 4 KB) $0.40 per secret per month
API reads Free (standard throughput, 40 TPS) $0.05 per 10,000 calls
Rotation Up to you Built in (the rotation Lambda is billed separately)

The same 20 secrets for one application, read 100,000 times a month:

Parameter Store Secrets Manager
Storage $0 $8.00
100,000 reads $0 $0.50
Total $0 ~$8.50

Twenty secrets is a small application. With 100, the difference is $0 against $40 a month, and with many reads (cold starts, large fleets) it grows further. Secrets Manager is not expensive in itself; it is expensive when it stores values that never use what it offers.

What the $0.40 pays for

It is not for storage, but for features you would otherwise have to build and maintain yourself:

  • Automatic rotation: templates that rotate RDS (MySQL, PostgreSQL and others), Redshift and DocumentDB credentials on a schedule, plus a base you can adapt for any other service. Rotating safely is not trivial: during the switch both the old and the new password have to work, and the templates already handle that.
  • RDS integration: RDS can create and rotate the master user password in Secrets Manager with a single option (--manage-master-user-password).
  • Multi-region replication (each replica is billed as another secret) and cross-account access through resource policies. Cross-account access requires a customer-managed KMS key, because the default key cannot be shared. Parameter Store has no replication and can only share advanced parameters, through AWS RAM.
  • Convenience: a single secret holds a whole credential (user, password, host) as JSON, and AWS provides caching clients for the main languages.

Parameter Store's argument is price: it is free, encrypted with KMS, and good enough as long as rotation is manual or part of your deployment pipeline (generate a new value, put-parameter --overwrite, done).

Four scenarios, with numbers

# Value rotated by the deployment pipeline (Parameter Store, free)
aws ssm put-parameter --name /prod/api/webhook-secret \
  --type SecureString --overwrite --value "$(openssl rand -hex 32)"

# Database credential with scheduled rotation (Secrets Manager, $0.40/month)
aws secretsmanager create-secret --name prod/db/app \
  --secret-string '{"username":"app","password":"..."}'
# then enable rotation: managed RDS template or your own Lambda
  • Application config and feature flags, 30 parameters: $0/month on Parameter Store; on Secrets Manager, $12/month for values that are not credentials. → Parameter Store.
  • RDS credentials rotated monthly, 4 secrets: $1.60/month on Secrets Manager, plus negligible reads. Doing it yourself means writing, testing and maintaining a Lambda that changes your production database password. For $1.60 it is not worth it. → Secrets Manager.
  • Third-party API keys (Stripe, SendGrid, a partner token) that the provider does not rotate automatically: rotation will be manual anyway, when a key leaks or someone leaves the team. → Parameter Store (SecureString), unless another account needs to read it.
  • 60 services reading config on every cold start, millions of reads a month: Secrets Manager charges $5 per million reads. Parameter Store is free up to 40 TPS, but above that you have to enable higher throughput, which costs $0.05 per 10,000 calls, the same as Secrets Manager. The solution is the same for both: cache the values. In Lambda, use the Parameters and Secrets extension; in ECS, inject them as environment variables when the task starts. → Either, with caching.

Hidden costs

For both

  • VPC endpoints: instances and containers in private subnets need an interface endpoint (secretsmanager or ssm) or a NAT gateway to read them. Each endpoint costs ~$0.011/h per AZ, about $8 a month per AZ, which for a small application can be more than the secrets themselves.

Secrets Manager

  • Replicas in other regions are billed as separate secrets: a disaster-recovery copy doubles that part of the bill.
  • A customer-managed KMS key adds $1/month plus $0.03 per 10,000 KMS calls. You need one for cross-account access.
  • Rotation Lambdas are billed as Lambda: negligible for a monthly rotation, noticeable with hundreds of secrets rotating every hour.

Parameter Store

  • Advanced parameters ($0.05 per parameter per month) are needed when a value exceeds 4 KB (up to 8 KB), when the account exceeds 10,000 parameters, or when you use parameter policies (such as expiration). With the Intelligent-Tiering setting, Parameter Store switches to advanced automatically, so a pipeline that writes large values can create them without anyone noticing. An advanced parameter cannot be turned back into a standard one.
  • Rotation is your job: a leaked key stays valid until someone rotates it. For values that should rotate periodically, this is a security risk, not a cost problem.

Summary

  1. Both encrypt with KMS at no cost and control access with IAM. The $0.40 per secret pays for rotation and integrations, not for storage.
  2. Config, flags and tokens rotated on deploy or by hand → Parameter Store (standard, SecureString): free.
  3. Credentials that need scheduled rotation (especially RDS, Redshift and DocumentDB), or access from other accounts or regions → Secrets Manager.
  4. Do not pay $0.40 a month for values that never rotate and are only read from one account and one region.
  5. Cache reads: with many cold starts or a large fleet, per-read pricing adds up.
  6. Review the account for secrets that are really config: that is where most of the $0.40 line items come from.
Find this waste automatically

PruneOps audits your cloud accounts and tells you what to fix first.

Get started Read the docs