Resetting the Administrator Password
For security reasons, you are advised to periodically change administrator passwords.
Precautions
- You cannot reset the administrator password for an instance is in any of the following statuses:
- Creating
- Restarting
- Adding node
- Switching SSL
- Changing port
- Changing instance class
- Deleting node
- Upgrading minor version
- Switchover in progress
- Changing AZ
- Adding read replicas
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click Service List. Under Database, click Document Database Service to go to the DDS console.
- On the Instances page, locate the target DB instance and choose in the Operation column.
Alternatively, on the Instances page, click the instance. In the DB Information area on the Basic Information page, click Reset Password in the Administrator field.
- Enter and confirm the new administrator password and click OK.
- Resetting the password does not disconnect the authenticated connection. However, you will need to enter the new password when logging in to the database.
- The password must be 8 to 32 characters in length and contain uppercase letters, lowercase letters, digits, and any of the following special characters ~!@#%^*-_=+?()$
Parent topic: Data Security
- Precautions
- Procedure