Tools/getsops/sops

SOPS

Simple and flexible tool for managing secrets

23.6k ★+70/wkgrowthGoMozilla Public License 2.0 →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Sep 2026

SOPS encrypts the values in your config files and leaves the keys readable, so secrets can live in git next to your code. You can see a file has a database_password field, but the value is gibberish until someone with the key decrypts it. MPL-2.0, free, and a CNCF sandbox project.

There's no server to run. It's a single binary that handles YAML, JSON, ENV, INI and binary files, and encrypts with AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, HashiCorp Vault or OpenBao, age, or PGP. sops edit secrets.yaml decrypts in your editor and re-encrypts on save. Field names stay plain, so a git diff shows which secret changed even when you can't read it.

The only cost is the key service you pick. age and PGP are $0. AWS KMS is $1/mo per key, and a small team stays inside the 20,000 free requests a month. Solo: use it with age. Small teams: use a cloud KMS so nobody's laptop holds the only key. Larger teams: keep it for config in git, and add Vault, OpenBao or Infisical (Infisical/infisical) when apps need secrets at runtime.

The catch: SOPS stores static secrets. It doesn't issue short-lived credentials or rotate them, and access is per file, not per secret. It can log decryptions to Postgres, but that's opt-in plumbing, not a dashboard. Lose your only key and the secrets are gone, so encrypt to more than one recipient.

Free vs Self-Hosted vs Paid

fully free

Free

Open source under MPL-2.0. No paid tier, no hosted service, no enterprise edition.

Real Costs

  • With age or PGP (local keys): $0.
  • With AWS KMS: $1/mo per key (key rotation adds $1/mo for each of the first two rotations, then stops, so a rotated key tops out at $3/mo), $0.03 per 10,000 requests, and the first 20,000 requests a month are free.
  • With GCP Cloud KMS: about $0.06/mo per software key version, $0.03 per 10,000 operations (the 10,000 free monthly operations only cover Autokey-created keys, not hand-made ones).
  • With Vault or OpenBao: whatever running that server costs you.

The Math

Effectively $0 to a few dollars a month. For comparison, Doppler's Team plan is $21 per user per month, and IBM HCP Vault Dedicated starts at $0.62 per cluster per hour (about $450/mo) for its Development tier. SOPS wins on cost by a mile, but it only covers static secrets in files, not runtime access or rotation.

Free. Even with a cloud KMS, expect a few dollars a month at most.

What to do by team size

Solo
free; use it with age, no cloud account needed
Small team
free; use AWS or GCP KMS so the team isn't depending on one person's key file
Medium team
free for static config secrets; add Vault, OpenBao or Infisical once apps need runtime secrets or rotation
Large team
free for secrets in git, but you'll also run a secrets manager for dynamic credentials, per-secret RBAC and compliance
Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
83/100 · A
Adoption27/30
Maintenance25/25
Community9/20
License12/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 21,503 starsActive community: 1,019 forks

About

Stars
23,632
Forks
1,113

Explore Further

More tools in the directory