Help Center/ CodeArts PerfTest/ User Guide/ Permissions Management via IAM/ Using IAM Roles to Grant Access to CodeArts PerfTest
Updated on 2025-11-17 GMT+08:00

Using IAM Roles to Grant Access to CodeArts PerfTest

System-defined permissions in role/policy-based authorization provided by IAM let you control access to CodeArts PerfTest. 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 CodeArts PerfTest resources.
  • Grant users only the permissions required to perform a given task based on their job responsibilities.
  • Entrust a Huawei Cloud account or a cloud service to perform efficient O&M on your CodeArts PerfTest resources.

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

Figure 1 shows the process flow of role/policy-based authorization.

Prerequisites

Before granting permissions to user groups, learn about system-defined permissions in Role/Policy-based Permissions Management for CodeArts PerfTest. To grant permissions for other services, learn about all system-defined permissions supported by IAM.

Process Flow

Figure 1 Process of granting CodeArts PerfTest permissions using role/policy-based authorization
  1. On the IAM console, create a user group and grant it permissions.

    Create a user group on the IAM console, and assign the CodeArts PerfTest Operator policy to the group.

  2. Create an IAM user and add it to the created user group.

    On the IAM console, create a user and add it to the user group created in 1.

  3. Log in as the IAM user and verify permissions.

    In the authorized region, perform the following operations:

    In the service list, choose CodeArts PerfTest. The Dashboard page of the CodeArts PerfTest console is displayed by default. Choose PerfTest Projects in the navigation pane and click Create Test Project on the right. If a message appears indicating that you have insufficient permissions to create a test project, the CodeArts PerfTest Operator policy is in effect.