diff --git a/bin/vault-sshadd b/bin/vault-sshadd index 73c0121..723a489 100755 --- a/bin/vault-sshadd +++ b/bin/vault-sshadd @@ -21,6 +21,7 @@ trap "rm ${HELPER}" EXIT cat -s <${HELPER} #!/bin/bash -eu +export -n DISPLAY vault read -field=private "secret/ssh-key/\$1" | exec ssh-add -t 3600 - EOF