Secret OPerationS cheat sheet install apt install golang echo 'GOPATH=~/go' >> ~/.bashrc source ~/.bashrc mkdir $GOPATH go get -u go.mozilla.org/sops/cmd/sops pip install sops visual code plugin ext install signageos.signageos-vscode-sops encrypt decrypt sops -e -i myfile.json sops -d myfile.json sops -e myfile.json > myfile.json.enc sops -d --input-type json myfile.json.enc sops --encrypt --in-place --encrypted-regex 'password|pin' --pgp `gpg --fingerprint "[email protected]" | grep pub -A 1 | grep -v pub | sed s/\ //g` myfile.yaml sops --decrypt myfile.yaml