Updated on 2023-06-14 GMT+08:00

Creating a User and Granting DMS for RocketMQ Permissions

This section describes how to use Identity and Access Management (IAM) for fine-grained permissions control for your Distributed Message Service (DMS) for RocketMQ resources. With IAM, you can:

  • Create IAM users for personnel based on your enterprise's organizational structure. Each IAM user has their own identity credentials for accessing DMS for RocketMQ resources.
  • Grant users only the permissions required to perform a given task based on their job responsibilities.
  • Entrust a cloud account or cloud service to perform efficient O&M on your DMS for RocketMQ resources.

If your cloud account meets your permissions requirements, you can skip this section.

This section describes the procedure for granting permissions (see Figure 1).

Prerequisites

Learn about the permissions (see Permissions Management) supported by DMS for RocketMQ and choose policies or roles according to your requirements. For the system policies of other services, see System Permissions.

Process Flow

Figure 1 Process for granting DMS for RocketMQ permissions

  1. On the IAM console, create a user group and grant it permissions.

    DMS ReadOnlyAccess is used as an example.

  2. Create an IAM user and add it to the created user group.
  3. Log in as the IAM user and verify permissions.

    In the authorized region, perform the following operations:

    • Choose Service List > Distributed Message Service for RocketMQ. Then click Buy Instance on the console of DMS for RocketMQ. If a message appears indicating that you have insufficient permissions to perform the operation, the DMS ReadOnlyAccess policy is in effect.
    • Choose Service List > Elastic Volume Service. If a message appears indicating that you have insufficient permissions to access the service, the DMS ReadOnlyAccess policy is in effect.