sops is a free, open source cloud infrastructure management project written in Go and released under MPL-2.0. It has 23,147 GitHub stars, 1,081 forks and 446 open issues, and was last pushed 4 days ago. On this registry it ranks #8 of 43 tracked projects in Cloud Infrastructure Management, with 5 head-to-head comparisons available. It gained 16 stars over the last 3 tracked days.

What is sops?

What it is

SOPS, short for Secrets OPerationS, is an editor of encrypted files written in Go and released under the Mozilla Public License Version 2.0. It handles YAML, JSON, ENV, INI and BINARY formats, and it encrypts those files using AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, age, or PGP. The project lives in the cloud-native infrastructure ecosystem: it started at Mozilla in 2015, was donated to the Cloud Native Computing Foundation in 2023, and is now a CNCF Sandbox project under a new group of maintainers. It carries 23,121 stars and 1,080 forks, with documentation hosted at getsops.io.

The concrete problem it solves is that configuration files frequently contain secrets, and storing those files in plaintext in a repository exposes credentials to anyone who can read the repository. SOPS keeps the file structure readable — keys stay visible, values stay encrypted — so a team can commit configuration to version control while the sensitive values remain protected. It replaces the practice of hand-managing PGP-encrypted files, and it was inspired by earlier tools including hiera-eyaml, credstash, sneaker and password store.

Key capabilities

  • Encrypts and edits files in YAML, JSON, ENV, INI and BINARY formats.
  • Encrypts values through AWS KMS, GCP KMS, Azure Key Vault and HuaweiCloud KMS key services.
  • Supports age and PGP as encryption backends alongside the cloud key services.
  • Keeps file structure intact so only values are encrypted, not the whole document.
  • Provides a documentation set published at getsops.io under the "Docs" section.
  • Accepts private security reports through GitHub's advisory form.
  • Distributed as a Go module importable as github.com/getsops/sops/v3.

Who uses it and how

  • Teams commit encrypted configuration files to version control and decrypt them at deploy time.
  • Operators use cloud KMS keys so access to secrets follows existing cloud identity and key policies.
  • Users of age or PGP encrypt files without depending on a cloud key service.
  • DevOps and security workflows listed in the project topics cover secret management and secret distribution.
  • Environments spanning AWS, Azure and GCP use one tool across all three providers.

Getting started

The README does not list package managers, container image names or a hosted service; it directs readers to the SOPS documentation on getsops.io under the "Docs" section for installation and usage. The project is also published as the Go module github.com/getsops/sops/v3.

When to use it — and when not to

SOPS fits teams that already hold keys in AWS KMS, GCP KMS, Azure Key Vault

project readme (upstream, from github) — read inline

SOPS: Secrets OPerationS

SOPS is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, age, and PGP. (demo _)

.. image:: https://i.imgur.com/X0TM5NI.gif


.. image:: https://pkg.go.dev/badge/github.com/getsops/sops/v3.svg :target: https://pkg.go.dev/github.com/getsops/sops/v3

Documentation

You can find the SOPS documentation on getsops.io _ under "Docs" _.

Security

Please report any security issues privately using GitHub's advisory form _.

License

Mozilla Public License Version 2.0

Authors

SOPS was initially launched as a project at Mozilla in 2015 and has been graciously donated to the CNCF as a Sandbox project in 2023, now under the stewardship of a new group of maintainers _.

The original authors of the project were:

  • Adrian Utrilla @autrilla
  • Julien Vehent @jvehent

Furthermore, the project has been carried for a long time by AJ Bahnken @ajvb, and had not been possible without the contributions of numerous contributors _.

Credits

SOPS was inspired by hiera-eyaml , credstash , sneaker , password store and too many years managing PGP encrypted files by hand...


.. image:: docs/images/cncf-color-bg.svg :width: 400 :alt: CNCF Sandbox Project

We are a Cloud Native Computing Foundation _ sandbox project.

Frequently asked questions

Is sops free to use?

sops is open source under the MPL-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does sops do?

Simple and flexible tool for managing secrets

What is sops written in?

sops is primarily written in Go. Its source is publicly available at https://github.com/getsops/sops, and it has 23,147 GitHub stars.