MongoDB Strategy Type
the mongodb strategy allows you to manage the passwords of users defined in mongodb directly from the vault screen to perform these operations follow these steps 1 navigate to secrets > vault configuration 2 click the add button and proceed to add new configuration 3 fill the name field and select mongodb as strategy 4 click next 5 click to connection panel and filed the target url template as “mongodb //${deviceip} 27017/admin?authsource=admin” then click save button when the vault configuration for mongodb has been defined, a new vault entry can be created to specify the user account whose password will be changed in mongodb from the vault interface, you can now use the “reset password” or “checkout password” options; when the password changes at the end of the period, it will be updated in both vault and mongodb, ensuring synchronization if you want to change the passwords of users defined in a different database within mongodb, you can complete the process by entering the name of the database to be modified in the “ authsource ” parameter in the vault configuration