Protect vault secret with GPG
Encrypting the vault password with GPG protects the key when stored on disk and allows it to be accessed non-interactively, as long as the GnuPG agent is set up correctly.
This commit is contained in:
2
.vault-secret.sh
Executable file
2
.vault-secret.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec gpg --quiet --batch --decrypt "${0%.sh}.gpg"
|
||||
Reference in New Issue
Block a user