# SOPS

> Simple and flexible tool for managing secrets

Source: https://talira.ai/catalog/sops-c54epjg9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [security / secrets management / encrypted files](https://talira.ai/categories/security/secrets-management/encrypted-files), [security / encryption](https://talira.ai/categories/security/encryption)
- Platforms: linux, macos, windows[^5]
- Licence: MPL-2.0[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^4]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Creator: Adrian Utrilla and Julien Vehent, at Mozilla
- Funding: non-profit[^6][^7]

SOPS (Secrets OPerationS) is an editor of encrypted files: it encrypts the values in YAML, JSON, ENV and INI files (and whole binary files) while leaving keys readable, so encrypted secrets can live in git and show meaningful diffs. Keys come from [age](https://talira.ai/catalog/age-pf0sjkan.md), PGP, AWS KMS, GCP KMS, [Azure Key Vault](https://talira.ai/catalog/azure-key-vault-a35dsqe3.md), HuaweiCloud KMS or [HashiCorp Vault](https://talira.ai/catalog/hashicorp-vault-ce2dgbje.md) and [OpenBao](https://talira.ai/catalog/openbao-vbz8sdjd.md); key groups with Shamir's Secret Sharing can require several of them to decrypt. `sops exec-env` and `exec-file` pass decrypted secrets to a process without writing them to disk. It started at Mozilla in 2015 and became a CNCF Sandbox project in 2023.

## Links

- Website: https://getsops.io
- GitHub: https://github.com/getsops/sops
- Docs: https://getsops.io/docs/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/sops>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/sops>[^2]

## Problems it solves

- commit our secrets to git without anyone being able to read them
- encrypt only the values in a YAML config so reviewers can still see which keys changed
- decrypt a secrets file in CI with our cloud KMS key instead of sharing a password
- give each environment its own encryption key for the same config files
- require two of three teams' keys before a production secret can be decrypted
- run a command with secrets in its environment without writing them to a file
- see readable diffs of encrypted files in git
- encrypt Kubernetes secret manifests so GitOps can apply them from the repo
- rotate the data key on all our encrypted files after someone leaves

## Features

- encrypts values in YAML, JSON, ENV and INI files, and whole binary files
- age, PGP, AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS and HashiCorp Vault / OpenBao keys
- creation rules in .sops.yaml
- key groups with Shamir's Secret Sharing thresholds
- exec-env and exec-file to pass secrets to a process
- cleartext diffs in git with a textconv
- publish decrypted or re-encrypted files to S3, GCS or Vault
- extract or set one value in a document tree

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.50 out of 1.
Signals: backing 0.75, extensibility 0.20.

- backed by Cloud Native Computing Foundation
- created by Adrian Utrilla and Julien Vehent, at Mozilla
- funding: non-profit

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [age](https://talira.ai/catalog/age-pf0sjkan.md)

## Alternatives

- [dotenvx](https://talira.ai/catalog/dotenvx-30gqzg73.md): A secure dotenv, from the creator of dotenv
- [git-crypt](https://talira.ai/catalog/git-crypt-qf6kk0w2.md): Transparent file encryption in git
- [Sealed Secrets](https://talira.ai/catalog/sealed-secrets-akz3yepb.md): A Kubernetes controller and tool for one-way encrypted Secrets

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://github.com/getsops/sops/blob/main/LICENSE (checked 19 Nov 2026)
[^4]: https://getsops.io/docs/ (checked 19 Nov 2026)
[^5]: https://github.com/getsops/sops/releases (checked 19 Nov 2026)
[^6]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^7]: https://www.cncf.io/ (checked 20 Nov 2026)
