Change Password Policy

Hello there!

I’m looking for a way to create two policies:

The first one will change the password for my service accounts every 30 ou 60 days for exemple in an automatically way.

The second I would like to save the account passwords in an Azure key vault and when I change the password there… it is automatically changed in mongodb.

Does anyone done that kind of stuff before?

Thanks!