Softwr

Cybersecurity · head to head

AWS Secrets Manager vs Cosign

AWS Secrets Manager logo

AWS Secrets Manager

Cybersecurity

Managed store for database credentials and API keys with automatic rotation

From
$0.4/month
Free plan
No
Cosign logo

Cosign

Cybersecurity

Signs and verifies container images and artifacts, with or without managing keys

From
Free
Free plan
Yes

The short version

  • Cosign is free; AWS Secrets Manager starts at $0.4/mo.
  • Only AWS Secrets Manager lists automatic rotation; only Cosign lists keyless signing.
  • Where AWS Secrets Manager falls short: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage.

How do AWS Secrets Manager and Cosign differ?

AWS Secrets Manager and Cosign 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 Cosign actually diverge.

Attributes where AWS Secrets Manager and Cosign differ
AttributeAWS Secrets ManagerCosign
Starting price$0.4/monthFree
Pricing modelPer secret per month plus per 10,000 API callsOpen source, no licence fee
Free tierNoYes
PlatformsWebmacOS, Linux, Windows, Self-hosted

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 6 only for Cosign. 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 Cosign

  • Keyless signing
  • Key and KMS signing
  • Registry-native storage
  • In-toto attestations
  • Offline verification
  • Trusted root and signing config

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; Cosign for meeting a customer or regulatory requirement for signed artifacts. 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 Cosign
  • Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot Cosign
  • Replicating secrets to a second Region for disaster recoverynot Cosign
  • Centralising third-party API keys with audit logs for compliancenot Cosign

Cosign

  • Signing container images in a build pipeline without managing long-lived private keysnot AWS Secrets Manager
  • Attaching a signed bill of materials to a release so consumers can verify its provenancenot AWS Secrets Manager
  • Meeting a customer or regulatory requirement for signed artifactsnot AWS Secrets Manager
  • Verifying third-party images before they enter an internal registrynot AWS Secrets Manager

Where do AWS Secrets Manager and Cosign 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. 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

Cosign

  • Keyless signing inherits every weakness of the identity provider behind it. Sigstore’s own threat model states that if an identity provider is compromised, Sigstore will issue certificates to those identities, so a compromised account produces perfectly valid signatures
  • A signature proves who signed, never whether they should have. The documentation is explicit that Sigstore cannot determine authorisation, so every consumer must write and maintain their own identity and issuer policy or verification means nothing
  • Nothing is enforced without an admission controller. Signing changes what you can prove, not what runs, and the official policy controller has a small maintainer base for a component sitting in a cluster admission path
  • Upgrades break pipelines. Version 3 changed defaults, version 4 is announced as removing legacy functionality and roughly half the command line flags, and two official client libraries still lacked support for the new log format as of mid 2026
  • Signatures do not expire. An artifact signed before a maintainer account was compromised and one signed after are indistinguishable unless somebody is actively monitoring the transparency log, and almost nobody is

How much do AWS Secrets Manager and Cosign cost?

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

Cosign

Free
  • CosignFree
    • Apache-2.0
    • Public Sigstore infrastructure free to use
    • No usage limits published

Which should you pick?

Choose AWS Secrets Manager if

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

Choose Cosign if

  • You need keyless signing.
  • You want to start without paying.
  • You work on macOS, Linux, Windows, Self-hosted.
  • You also want key and kms signing.

Questions people ask

Is AWS Secrets Manager or Cosign better?
It depends on the job. AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes; Cosign fits signing container images in a build pipeline without managing long-lived private keys. AWS Secrets Manager starts at $0.4/month and Cosign at Free.
Which is cheaper, AWS Secrets Manager or Cosign?
Cosign has a free tier; the other does not. Paid plans start at $0.4/month for AWS Secrets Manager and Free for Cosign.
Does AWS Secrets Manager or Cosign run on more platforms?
AWS Secrets Manager runs on Web. Cosign runs on macOS, Linux, Windows, Self-hosted.
Can I use Cosign for free?
Yes. Cosign 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 Cosign is typically brought in for.
What can AWS Secrets Manager do that Cosign cannot?
AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access. Cosign covers Keyless signing, Key and KMS signing, Registry-native storage, In-toto attestations.

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.

Cosign: Does Cosign tell me if an image is vulnerable?

No. It has no vulnerability knowledge whatsoever. It can carry an SBOM as a signed attestation but never reads it. Pair it with a scanner.

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.

Cosign: Is signing alone enough?

No. Verification is a command somebody runs. Without an admission controller enforcing it, an unsigned image still runs.

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.

Cosign: What does a bare cosign verify actually prove?

Very little. Without a pinned certificate identity and OIDC issuer, it accepts a valid signature from any identity at all.

Cosign: What is the risk of keyless signing?

Your OIDC provider becomes the root of trust. Compromise of that account yields genuine, verifiable signatures, so account security is the control that matters.

Cosign: Should we expect breaking changes?

Yes. Version 4 is announced to remove roughly half the flags, and a post-quantum migration is named as a further breaking change after that.

Share

Related pages

Other head to heads