-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Hi,
In my code I am using VaultConfigSource to load some configurations from Vault.
I am using a token I generate from kubernetes to access it, that token has a 1 hour timeout.
Afterwards of course whenever vault config tries to reload, it gets a forbidden error.
Is there a way to tell VaultConfigSource to go get a new token (using a method I created) every x amount of time? (or whenever access is forbidden the first time?)
Also is there a way to tell VaultConfigSource to make a callback to a certain method every time configurations are reloaded?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels