What permissions does the root account have when activating an instance
When you subscribe to an instance, the root account is created, which has the built-in root permissions of DDS. You can execute the show roles command to query the permissions of the root account.
Default permission mechanism of DDS
When creating an instance, a default root account will be created, and the user password can be specified during subscription. This account has the built-in root permissions of DDS. Compared with the community version of MongoDB, DDS has undergone a series of security enhancements. Users of the community version of MongoDB can directly connect to the MongoDB database without authentication, but DDS requires users to connect to the database service using user name and password authentication. In addition, the strength of the password is also checked, and the user password needs to meet the password complexity requirements.
Role management of DDS
Role management is an important mechanism for controlling user access permissions. Through role management, you can define the operation permissions of different users to the database. When creating an instance, a default root account will be created. In addition, you can customize role management for the instance, and configure the roles as needed on the account management page of the instance.
User management of DDS
In DDS, user management is used to control user access to the database by creating users and assigning roles. DDS supports the independent management of users in different databases and can assign different roles to users to control the scope of their permissions. In order to provide more detailed and friendly database services, DDS creates a default root account and supports password modification of the root account. In addition, DDS also provides customized account management for the instance. Go to the account management page of the instance, where you can add an account and configure the corresponding permissions.