# `git diff` on an encrypted Secret is otherwise a wall of ciphertext. # Enable the driver once per workstation (needs the age key in ~/.config/sops/age/keys.txt): # git config --global diff.sopsdiffer.textconv 'sops decrypt --output-type yaml' # Without that config the attribute is inert and git diffs the file as plain text. *.sops.yaml diff=sopsdiffer *.sops.yml diff=sopsdiffer