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
TellerManages secrets across multiple vaults and cloud services
External Secrets OperatorSynchronizes secrets from external providers with Kubernetes
InfisicalSecrets management, PKI, and SSH access
Secrets Store CSI DriverMounts external secrets into Kubernetes pods
fnoxEncrypted/remote secret manager
EnvySlick TUI for browsing secrets and a CLI for automation
ConjurSecures application secrets and authenticates machine identities
PhaseCollaborative secrets management for teams
ChamberModern secret management solution

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted