BrowseSecurity & networking tools
SOPS
Editor for encrypted YAML, JSON, ENV, INI and binary files using AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS, age or PGP.
Tested on Linux
Use it
Linux x86_64
download sops v3.13.3 linux amd64 binary to ~/.local/bin and chmod +x
mkdir -p ~/.local/bin && curl -fL -o ~/.local/bin/sops https://github.com/getsops/sops/releases/download/v3.13.3/sops-v3.13.3.linux.amd64 && chmod +x ~/.local/bin/sopsdownload age v1.2.1 and generate an age key for the tests
curl -fL -o /tmp/age.tar.gz https://github.com/FiloSottile/age/releases/download/v1.2.1/age-v1.2.1-linux-amd64.tar.gz && tar -xzf /tmp/age.tar.gz -C /tmp && cp /tmp/age/age /tmp/age/age-keygen ~/.local/bin/ && age-keygen -o ~/age-key.txt
Check that it works
sops --version --disable-version-checkThe output should contain “sops 3.13.3”.
First thing to try
cat > secrets.yaml <<'EOF'
db_user: admin
db_password: hunter2
EOF
cat > secrets.env <<'EOF'
API_TOKEN=s3cr3tvalue
EOFsops encrypt --age "$(age-keygen -y ~/age-key.txt)" secrets.yaml > secrets.enc.yaml && cat secrets.enc.yaml && SOPS_AGE_KEY_FILE=~/age-key.txt sops decrypt secrets.enc.yamlRun sops encrypt --age <age public key> <file> > <encrypted file> to encrypt your first secrets file.
What it does
- Edit encrypted YAML, JSON, ENV, INI and binary filesTested
How to use it
- Encrypt a file with
sops encrypt --age <age public key> <file> > <encrypted file>. - Open it for editing with
SOPS_AGE_KEY_FILE=<key file> sops edit <encrypted file>; it is re-encrypted when you save. - View the plain contents with
SOPS_AGE_KEY_FILE=<key file> sops decrypt <encrypted file>.
- Encrypt a file with
- Encrypt with cloud KMS, age or PGP keysTested
How to use it
- Encrypt with an age key using
sops encrypt --age <age public key> <file> > <encrypted file>. - Decrypt with
SOPS_AGE_KEY_FILE=<key file> sops decrypt <encrypted file>.
- Encrypt with an age key using
How far pickfit got
Linux x86_64
- Installs
- Starts
- 2 of 2 features work
- Works offline
Good for
- edit encrypted YAML or JSON secret files
An alternative to hiera-eyaml and credstash.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 15 Nov 2026
- Version sops 3.13.3
Differences the test machine hit
- README: mv sops-v3.13.3.linux.amd64 /usr/local/bin/sops
In the test: Without root I saved the binary to ~/.local/bin/sops, which is on PATH. - README: encrypts with ... age
In the test: SOPS does not make age keys itself. I downloaded the separate age release to run age-keygen. - README: (no mention)
In the test: `sops edit` exits 200 with 'File has not changed, exiting.' if the editor makes no changes (cmd 6).