Generate dynamic secret

Hi knowledgeable vault members,

I am trying to generate one secret, which has to be rotated periodically (like a dynamic secret) and provide to multiple applications.

The thing is I have a few apps which need the shared secret to validate a few things, I know with KV pair, we can keep the secret, but there is no auto-rotate feature.

Is there any way I can achieve this?

Note: I’m running vault on Kube with vault agent sidecars

Write an application which periodically generates a new secret and stores it in the KV.

Or, write a custom Vault plugin which implements whatever custom logic you desire.