SOPS, short for Secrets OPerationS, is a command-line utility for keeping sensitive values encrypted inside configuration files and other documents. Instead of turning every structured document into an opaque encrypted blob, it can preserve the surrounding YAML, JSON, ENV or INI structure while protecting the values that contain secrets.
This suits Git repositories, infrastructure configuration and deployment pipelines where teams want readable structure without committing plaintext credentials. SOPS stores the metadata required for decryption with the document and can use local public-key systems or external key-management services to protect its data key.
This is free and open source software.
Key Features
- Supports YAML, JSON, ENV, INI and binary files, with format-aware handling for structured documents.
- Encrypts data keys with age, PGP, AWS KMS, Google Cloud KMS, Azure Key Vault and HuaweiCloud KMS.
- Uses .sops.yaml creation rules to select keys and settings according to paths or filename patterns.
- Supports key groups and Shamir Secret Sharing thresholds when access should depend on several master keys.
- Can rotate a data key and re-encrypt an existing document without rebuilding its configuration.
- Provides commands for adding or removing master keys as team membership or infrastructure changes.
- Calculates authentication data to detect unauthorised additions, removals or alterations within structured files.
- Can set, unset and extract selected values from structured documents from the command line.
Website: github.com/getsops/sops
Support:
Developer: SOPS maintainers (CNCF project)
License: Mozilla Public License v2.0

SOPS is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| CLI File Encryption Tools | |
|---|---|
| SOPS | Editor of encrypted files |
| age | Simple file encryption tool |
| GnuPG | Implementation of the OpenPGP standard |
| Sequoia PGP | Comprehensive OpenPGP implementation |
| horcrux | File splitter with encryption and redundancy |
| rage | Simple encryption tool using the age format |
| Kryptor | Simple, modern, and secure file encryption and signing tool |
| transcrypt | Transparently encrypt sensitive files stored in Git repositories |
| Picocrypt | Very small (hence Pico), very simple, yet very secure encryption tool |
| enc | Designed as a modern, approachable alternative to GnuPG |
| ccrypt | Tool for encrypting and decrypting files and streams |
| Encpipe | Billed as the simplest encryption tool in the world |
| Volaris | Encryption tool designed to prioritize privacy and security |
| sigtool | Sign, verify, encrypt and decrypt files from the command line |
| eddy | Simple and fast CLI file encryption |
| Xecrets Cli | AxCrypt compatible encryption tool |
| nacrypt | Simple and easy-to-use file encryption utility |
| agevault | Encrypt and decrypt directories securely using age |
| v02enc | Symmetric encryption for multiple recipients |
| PurrCrypt | Fur-ociously secure encryption tool |
Read our verdict in the software roundup.
| Secrets Management | |
|---|---|
| OpenBao | Manage, store, and distribute sensitive data |
| SOPS | Editor of encrypted files |
| Sealed Secrets | One-way encrypted secrets |
| Teller | Manages secrets across multiple vaults and cloud services |
| External Secrets Operator | Synchronizes secrets from external providers with Kubernetes |
| Infisical | Secrets management, PKI, and SSH access |
| Secrets Store CSI Driver | Mounts external secrets into Kubernetes pods |
| fnox | Encrypted/remote secret manager |
| Envy | Slick TUI for browsing secrets and a CLI for automation |
| Conjur | Secures application secrets and authenticates machine identities |
| Phase | Collaborative secrets management for teams |
| Chamber | Modern secret management solution |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.