Webhook on new secret version

Hi,

I wonder if any kind of webhook is possible on action on Vault, like creating new secret version for example.

The idea would be to trigger any supplied endoint of my application which then knows that it has to update its secrets from Hashicorp Vault (I work with .net core 3.1) instead of continuously polling the Vault.

Is it possible ?
Thank you

Just as an quick idea: use the template stanza of vault to create a ‘trigger’-file (with e.g. a date in it), tell your application to watch for the file (and the content) and if it’s changing, poll the new secret from vault.

Not tested; just kind of poc; works in my mind. :smiley:

1 Like

Thank you I would look at it.
So as I understand the webhook does not exist in Vault, right ?