remco
remco copied to clipboard
I've gotten most of the setup working with vault but the connection doesn't auto renew the token
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
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
I'll try my best. I'm not a go developer but I do want to get into it.
I found this example: https://github.com/hashicorp/vault-examples/blob/main/go/2_renew-token.go