Updated on 2024-04-19 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 an account or a cloud service to perform efficient O&M on your SMN resources.

If your 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) supported by SMN and choose policies or roles according to your requirements. For system permissions of other cloud services, see System-defined Permissions.

Process Flow

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

    Create a user group on the IAM console and assign the SMN Administrator 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 Administrator permissions.

    Log in to the SMN console by using the created user, and verify that the user only has the SMN Administrator 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 is successfully created, the SMN Administrator permissions have already taken effect.
    • Choose any other service in Service List. If a message appears indicating that you have insufficient permissions to access the service, the SMN Administrator permissions have already taken effect.