diff --git a/bin/vault-sshadd b/bin/vault-sshadd index 8e1732c..7b78778 100755 --- a/bin/vault-sshadd +++ b/bin/vault-sshadd @@ -35,7 +35,7 @@ trap "rm ${HELPER}" EXIT cat -s < ${HELPER} #!/bin/bash -vault read -field=private "/secret/ssh-key/\$1" | exec ssh-add - +vault read -field=private "/secret/ssh-key/\$1" | exec ssh-add -t 900 - EOF for KEY_NAME in $@; do