vault-secret: Get key from Bitwarden
I don't use GnuPG for anything else anymore, so it's becoming rather cumbersome to keep setting it up just for the Ansible Vault secret. Since I use Bitwarden to store the passphrase for my PGP key anyway, it makes sense to just store the Ansible Vault secret there directly.step-ssh
parent
ed42f848b9
commit
b68a99091d
|
@ -1,2 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec gpg --quiet --batch --decrypt "${0%.sh}.gpg"
|
|
||||||
|
rbw get --folder Pyrocufflink 'Ansible Vault Key' | base64 -d
|
||||||
|
|
Loading…
Reference in New Issue