Last active
May 17, 2025 10:05
-
-
Save ianatha/66739082e7ae8266018839d2bf297ff8 to your computer and use it in GitHub Desktop.
rencrypt SOPS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for file in `grep -RIlZ '^sops:' .`; do | |
echo $file | |
sops --decrypt -i "$file" && | |
sops --encrypt -i "$file" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment