Encrypted Files

SOPS – editor for encrypted secrets and configuration files

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 commands and options
Click image for full size

SOPS is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

CLI File Encryption Tools
SOPSEditor of encrypted files
ageSimple file encryption tool
GnuPGImplementation of the OpenPGP standard
Sequoia PGPComprehensive OpenPGP implementation
horcruxFile splitter with encryption and redundancy
rageSimple encryption tool using the age format
KryptorSimple, modern, and secure file encryption and signing tool
transcryptTransparently encrypt sensitive files stored in Git repositories
PicocryptVery small (hence Pico), very simple, yet very secure encryption tool
encDesigned as a modern, approachable alternative to GnuPG
ccryptTool for encrypting and decrypting files and streams
EncpipeBilled as the simplest encryption tool in the world
VolarisEncryption tool designed to prioritize privacy and security
sigtoolSign, verify, encrypt and decrypt files from the command line
eddySimple and fast CLI file encryption
Xecrets Cli AxCrypt compatible encryption tool
nacryptSimple and easy-to-use file encryption utility
agevaultEncrypt and decrypt directories securely using age
v02encSymmetric encryption for multiple recipients
PurrCryptFur-ociously secure encryption tool

Read our verdict in the software roundup.

Secrets Management
OpenBaoManage, store, and distribute sensitive data
SOPSEditor of encrypted files
Sealed SecretsOne-way encrypted secrets
VaultTool for securely accessing secrets
InfisicalSecrets management, PKI, and SSH access
fnoxEncrypted/remote secret manager
EnvySlick TUI for browsing secrets and a CLI for automation
ChamberModern secret management solution

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted