sops
CLISecrets management tool supporting YAML, JSON, and .env files.
0 views
Installation
Homebrew
brew install sopsLinks
License
MPL-2.0AI Agent Notes
Encrypt secrets in YAML/JSON/ENV files with AWS KMS, GCP KMS, or age
When to use
Managing encrypted secrets in git repositories
Proven Recipes
Encrypt a YAML secrets file🟢 93% success
sops --encrypt secrets.yaml > secrets.enc.yaml⚠ Common failures (1)
- No master keys found → Configure .sops.yaml with your key ARN/fingerprint
Edit encrypted file in-place🟢 95% success
sops secrets.enc.yamlDecrypt to stdout🟢 97% success
sops --decrypt secrets.enc.yaml