Using dynamic database credentials

Hello,
I am using Hangfire with MongoDB. I have to implement dynamic credentials (based on HashiCorp Vault). The credentials must be renewed at a regular interval (e.g. each day). Do you have any recommendation for this scenario?
Best regards,
Valy