diff options
Diffstat (limited to 'bin/rotate-vault-password.sh')
-rwxr-xr-x | bin/rotate-vault-password.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/rotate-vault-password.sh b/bin/rotate-vault-password.sh deleted file mode 100755 index 1762786..0000000 --- a/bin/rotate-vault-password.sh +++ /dev/null @@ -1,15 +0,0 @@ -#! /usr/bin/env sh - -head -c 128 /dev/urandom | base64 > password.txt - -ansible-vault rekey - --new-vault-password-file password.txt \ - `git grep -l 'ANSIBLE_VAULT;1.1;AES256$'` - -gpg \ - -r d@ilvokhin.com \ - --armor \ - --output misc/vault-password.asc \ - --encrypt password.txt - -ansible-vault view misc/vaults/example.yml && rm password.txt |