Tools/getsops/sops

SOPS

Simple and flexible tool for managing secrets

22.7k+63/wkgrowthGoMozilla Public License 2.0trending

The Lens

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

Updated Jul 2026

SOPS encrypts secret values in your config files while leaving field names in plain text, so you can safely store secrets in git. You can see that a file has a `database_password` field, but the value is encrypted gibberish until you decrypt it.

This is elegant because your secrets live in version control alongside your code. No separate secrets server, no external service, no extra infrastructure. The encrypted files are diffable in git. You can see that someone changed the database password even though you can't read the new value.

SOPS supports AWS KMS, GCP KMS, Azure Key Vault, HashiCorp Vault, and age (a simple file-based key) for encryption. It works with YAML, JSON, ENV, and INI files. The workflow: edit the file with `sops secrets.yaml`, it decrypts in your editor, you make changes, it re-encrypts on save.

The catch: SOPS is for storing secrets, not managing access to them. There's no audit log of who accessed what, no dynamic credential rotation, no fine-grained permissions. For a team of 3 sharing a dozen secrets, SOPS is perfect. For a team of 50 with compliance requirements, you need Vault. Also, key management is on you; if you lose your encryption key and don't have KMS, your secrets are gone forever.

Free vs Self-Hosted vs Paid

fully free

Free

Fully open source under the Mozilla Public License 2.0. No paid tier, no hosted service.

Real Costs

  • With age (local keys): $0 total. Generate a key file, encrypt your secrets, done.
  • With AWS KMS: $1/mo per key + $0.03 per 10K API calls. Negligible.
  • With GCP KMS: $0.06 per 10K operations. Also negligible.

The Math

Effectively $0 for most teams. Even with cloud KMS, you're looking at $1-2/mo. Compare to HashiCorp Vault ($22/mo minimum for HCP) or Doppler ($18/user/mo for teams). SOPS wins on cost by a mile, but trades off access management features.

Free. Even with cloud KMS, costs are under $2/mo. The cheapest secrets management you'll find.

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
22,701
Forks
1,065

Explore Further

More tools in the directory