
SOPS
Simple and flexible tool for managing secrets
The Lens
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.
Similar Tools
About
- Stars
- 21,387
- Forks
- 1,017
Explore Further
More tools in the directory
Get tools like this delivered weekly
The Open Source Drop — the best new open source tools, analyzed. Free.




