If you forget your account password, want to change your password, or have not set a password when you created an instance, you can use the password reset feature provided by ApsaraDB for MongoDB.
Limits
You can reset only the password of an account for a Configserver node in a sharded
cluster instance and the password of the root account.
Note
- The password of an account for a shard node in a sharded cluster instance cannot be reset.
- If you want to manage accounts created by using the
db.createUser()
method, you can use one of the following methods: