You can reset the instance password if you do not set a password when you create the instance or need to modify an existing password.
Log on to the MongoDB console.
Find the target instance, and click the instance ID or Manage to go to the Basic Information page.
Click Reset Password in the Account Management column, as shown in the following figure.
In the Reset Password window, enter a new password and click OK.