Help Center/ Simple Message Notification/ User Guide/ Permissions Management/ Creating a User and Granting SMN Permissions
Updated on 2024-10-12 GMT+08:00

Creating a User and Granting SMN Permissions

Use IAM to implement fine-grained permissions control over your SMN resources. With IAM, you can:

  • Create IAM users for employees based on your enterprise's organizational structure. Each IAM user will have their own security credentials for accessing SMN resources.
  • Grant only the permissions required for users to perform a specific task.
  • Entrust a Huawei Cloud account or a cloud service to perform efficient O&M on your SMN resources.

If your Huawei Cloud account does not require individual IAM users, skip this chapter.

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

Prerequisites

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

Process Flow

Figure 1 Process for granting the SMN ReadOnlyAccess permissions
  1. Create a user group and assign permissions

    Create a user group on the IAM console and assign the SMN ReadOnlyAccess permissions to the group.

  2. Create a user and add it to the user group.

    Create a user on the IAM console and add the user to the group created in 1.

  3. Log in as the created user and verify the SMN ReadOnlyAccess permissions.

    Log in to the SMN console by using the created user and verify that the user only has the SMN ReadOnlyAccess permissions.

    • Choose Service List > Simple Message Notification. On the SMN console, choose Topic Management > Topics and click Create Topic in the upper right corner. If the topic cannot be created, the SMN ReadOnlyAccess policy has already taken effect.
    • Choose any other service on the Service List page. If a message appears indicating that you have insufficient permissions to access the service, the SMN ReadOnlyAccess policy has already taken effect.