remco icon indicating copy to clipboard operation
remco copied to clipboard

I've gotten most of the setup working with vault but the connection doesn't auto renew the token

Open jeffdsu opened this issue 4 years ago • 3 comments

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

jeffdsu avatar Oct 18 '21 20:10 jeffdsu

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

HeavyHorst avatar Oct 20 '21 14:10 HeavyHorst

I'll try my best. I'm not a go developer but I do want to get into it.

jeffdsu avatar Oct 25 '21 17:10 jeffdsu

I found this example: https://github.com/hashicorp/vault-examples/blob/main/go/2_renew-token.go

HeavyHorst avatar Nov 02 '21 21:11 HeavyHorst