Data Management Service (DMS) provides the metadata access control feature. You can enable this feature to allow only users who have permissions on an instance or a database to view information about and access the instance or database. This topic describes how to enable metadata access control for an instance or a database in DMS.

Background information

As a centralized data management service, DMS provides different roles that are assigned different permissions. This helps you manage data in your enterprise in a secure manner. After you enable metadata access control for an instance or a database, only users who have permissions on the instance or database can view information about and access the instance or database. This further enhances data security.
Note In DMS, permissions on a database include the query, export, and change permissions. If you have one of these permissions on a database, you can view the following information about the database:
  • Information about the database. The database name will be displayed in the left-side navigation pane of the DMS console. You can search for the database in the search box at the top of the left-side navigation pane. You can also apply for other permissions on the database. Whether you can query data in the database depends on whether you have the query permission on the database.
  • Information about the instance to which the database belongs. Whether you can view information about another database in this instance depends on whether you have permissions on the database.

Enable metadata access control for a database

  1. Log on to the DMS console.
  2. On the Instance page, click the Database List tab.
  3. On the Database List tab, find the target database, move the pointer over More in the Actions column, and then select Access control.
    Database List tab
    Note You can enable metadata access control for multiple databases at a time. Select the databases and click Access control at the top of this tab.
  4. In the Metadata access control dialog box, turn on Metadata access control and click OK.
    Metadata access control dialog box

Enable metadata access control for an instance

  1. Log on to the DMS console.
  2. On the Instance List tab of the Instance page, find the target instance, move the pointer over More in the Actions column, and then select Access control.
    Instance List tab
    Note You can enable metadata access control for multiple instances at a time. Select the instances and click Access control at the top of this tab.
  3. In the Metadata access control dialog box, turn on Metadata access control and click OK.
    Metadata access control dialog box