Help Center/ Cloud Firewall/ User Guide/ Creating a User Group and Granting Permissions
Updated on 2025-01-07 GMT+08:00

Creating a User Group and Granting Permissions

This section describes how to use Identity and Access Management (IAM) to implement fine-grained permissions control for your CFW resources. With IAM, you can:

  • Create IAM users for employees in different departments based on your organizational structure. Each IAM user has their own security credentials used to access CFW resources.
  • Grant only the permissions required for users to perform a task.
  • Entrust an account or cloud service to perform professional and efficient O&M on your CFW resources.

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

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

Prerequisites

Learn about the permissions supported by CFW in Table 1 and choose policies or roles based on your requirements.

Table 1 System policies supported by CFW

Role Name

Description

Category

Dependency

CFW FullAccess

All permissions for CFW

System-defined policy

None

CFW ReadOnlyAccess

Read-only permissions for CFW

System-defined policy

None

Process Flow

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

    Create a user group on the IAM console, and attach the CFW ReadOnlyAccess policy to the group.

  2. Creating an IAM User.

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

  3. Log in and verify permissions.
    Log in to the CFW console by using the newly created user, and verify user permissions.
    • Choose Cloud Firewall in the service list. Click Buy CFW on the CFW console. If you cannot buy CFW (assuming that only the CFW ReadOnlyAccess permission is granted), the CFW ReadOnlyAccess policy has already taken effect.
    • Choose any other service in Service List. Assume that the current policy contains only the CFW ReadOnlyAccess permission. If a message appears indicating that you have insufficient permissions to access the service, the CFW ReadOnlyAccess policy has already taken effect.