Updated on 2024-08-29 GMT+08:00

User Management

Multiple users with different permissions can be created to access a DB instance or database, but the permissions of these users must be within a certain range.

Creating a User

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Account Management > User Management.
  7. Select the database for which a user is to be created and click Create User.

    Figure 1 Creating a user

  8. On the displayed page, enter the username and password and confirm the password.

    Figure 2 Setting information

  9. In the lower part of the page, click Add Role. On the displayed page, select roles for the database.

    Figure 3 Adding roles

    If you grant a role from another database to this created user, the user has operation permissions on that database.

  10. After setting required parameters, click Save. In the preview dialog box, click OK.

Editing a User

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Account Management > User Management.
  7. In the user list, locate the user that you want to edit and click Edit in the Operation column.

    Figure 4 Editing user information

  8. Edit user information, such as the password, associated role, and user-defined data.
  9. Click Save.

Deleting a User

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Account Management > User Management.
  7. In the user list, locate the user you want to delete and click Delete.
  8. In the displayed dialog box, click Yes.