Open-source software for managing, storing, and distributing secrets, certificates, and keys, forked from HashiCorp Vault's open-source lineage.
getsops/sops
An editor for encrypted files that encrypts YAML, JSON, ENV, INI and binary files with cloud KMS, age or PGP keys.
Open-source alternative to:HashiCorp Vault
- Stars
- 23,485
- Forks
- 1,105
- Open issues
- 462
- Last commit
- 3 days ago
What is it?
SOPS (Secrets OPerationS) is a command-line editor for encrypted files. It lets you open a file, edit its values in a normal editor, and save it back encrypted, so secrets such as passwords, API keys and certificates can live in version control without being stored in plain text.
SOPS works with YAML, JSON, ENV, INI and binary files. Encryption keys can come from AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, age, or PGP, so teams can use the key management system they already run.
The project is a CNCF Sandbox project, originally launched at Mozilla in 2015 and now maintained by a community group.
Key features
- 01Edits YAML, JSON, ENV, INI and binary files in encrypted form.
- 02Supports AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, age and PGP keys.
- 03Keeps file structure readable so diffs in version control stay meaningful.
- 04Decrypts files for use in scripts and deployment pipelines.
Use cases
- Storing Kubernetes or Helm secrets in a Git repository.
- Sharing configuration files with encrypted credentials across a team.
- Managing environment files for applications deployed through CI/CD.
In collections
Topics
FAQ
- What is sops?
- An editor for encrypted files that encrypts YAML, JSON, ENV, INI and binary files with cloud KMS, age or PGP keys. SOPS (Secrets OPerationS) is a command-line editor for encrypted files. It lets you open a file, edit its values in a normal editor, and save it back encrypted, so secrets such as passwords, API keys and certificates can live in version control without being stored in plain text.
- Is sops free to use? What license does it have?
- sops is open source under the MPL-2.0 license. Check the license terms before using it in commercial products.
- Is sops still maintained?
- Actively maintained. The last commit to sops was on Oct 20, 2026.
- What can I use sops for?
- Storing Kubernetes or Helm secrets in a Git repository. Sharing configuration files with encrypted credentials across a team. Managing environment files for applications deployed through CI/CD.
- Where can I get sops?
- The source code and installation instructions are on GitHub: https://github.com/getsops/sops
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A bash tool that stores private files encrypted with GPG inside a git repository, shared with trusted users by their public keys.
Open-source platform for managing secrets, certificates, keys, privileged access, and AI agent credentials in one place.
Infrastructure as Code CLI and engine that lets you define and deploy cloud resources using general-purpose programming languages.
A curated, community-maintained list of Kubernetes resources including tools, books, tutorials, and cloud provider links.
Self-hosted PaaS that deploys apps and databases on your own server using Docker, Nginx and Let's Encrypt, with a web GUI and CLI.