This topic describes how to set or reset a password for a replica set instance.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the region where your instance resides.
  3. In the left-side navigation pane, click Replica Set Instances.
  4. Find the target instance and click its ID.
  5. In the left-side navigation pane, click Accounts.
  6. Click Reset Password.
    Reset the password
  7. In the Reset Password dialog box that appears, enter and confirm the new password. Click OK.
    Enter a new password
    Note
    • The password must contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! # $ % ^ & * ( ) _ + - =
    • The password must be 8 to 32 characters in length.