summaryrefslogtreecommitdiff
path: root/bin/rotate-vault-password
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-01-04 12:15:12 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2026-01-04 12:15:12 +0000
commitc81aeaf94898e224efb8fc322410d296f70dd1e8 (patch)
tree77f20990342557f7ca9a10bfab09e169d1812f65 /bin/rotate-vault-password
parentd9594ba072ecc6807bb1f80ee6533b11d1d57c91 (diff)
downloadinfra-c81aeaf94898e224efb8fc322410d296f70dd1e8.tar.gz
infra-c81aeaf94898e224efb8fc322410d296f70dd1e8.tar.bz2
infra-c81aeaf94898e224efb8fc322410d296f70dd1e8.zip
Rotate vault password
Diffstat (limited to 'bin/rotate-vault-password')
-rwxr-xr-xbin/rotate-vault-password2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rotate-vault-password b/bin/rotate-vault-password
index 2127274..293de4f 100755
--- a/bin/rotate-vault-password
+++ b/bin/rotate-vault-password
@@ -2,7 +2,7 @@
head -c 128 /dev/urandom | base64 > password.txt
-ansible-vault rekey
+ansible-vault rekey \
--new-vault-password-file password.txt \
`git grep -l 'ANSIBLE_VAULT;1.1;AES256$'`