Help Center/ KooDrive/ User Guide/ Using IAM to Grant Access to KooDrive/ Using IAM Roles or Policies to Grant Access to KooDrive
Updated on 2025-11-19 GMT+08:00

Using IAM Roles or Policies to Grant Access to KooDrive

System-defined permissions in "Role/Policy-based Authorization" provided by Identity and Access Management (IAM) let you control access to KooDrive. 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 KooDrive 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 KooDrive 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 KooDrive. To grant permissions for other services, learn about all system-defined permissions supported by IAM.

Process Flow

Figure 1 Process of granting KooDrive 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 KooDrive FullAccess permission 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:

    • Choose KooDrive from the service list. On the KooDrive console, click Enable Now in the upper right corner. If KooDrive cannot be enabled and a message appears indicating that you need to switch from an IAM account to a Huawei account, the KooDrive FullAccess policy is in effect.

      After the policy takes effect, the following operations cannot be performed:

      • Subscribing to the service
      • Unsubscribing from the service
      • Logging in to the KooDrive service plane

Example Custom Policies

Custom policies can be created to supplement the system-defined policies of KooDrive. Currently, KooDrive supports only one permission. There is no need to create custom policies. Creating custom policies may result in duplicate policies.