I've gotten most of the setup working with vault but the connection doesn't auto renew the token
jeffdsu opened this issue · comments
Jeff Su commented
Unless I'm doing something wrong, I assuming that if we use app role as the auth type, that prior to the ttl, the token will auto renew, but this isn't happening right now
Rene Kaufmann commented
do you have experience with the Vault api and would you be willing to create a PR?
This would be the place to fix this issue: https://github.com/HeavyHorst/easykv/blob/master/vault/client.go
Jeff Su commented
I'll try my best. I'm not a go developer but I do want to get into it.
Rene Kaufmann commented
I found this example: https://github.com/hashicorp/vault-examples/blob/main/go/2_renew-token.go