Updated on 2026-09-08 GMT+08:00

Overview

IAM is a foundational service for permission management, offering functions like user identity authentication, permission allocation, and access control, enabling you to securely manage access to cloud resources and perform fine-grained permission management.

IAM Authorization Types and Use Cases

IAM can authorize different enterprise users to access cloud service resources. For example, if there are employees responsible for data analysis within your organization whom you wish to have usage permissions for DLI compute resources but not the permission to perform high-risk operations such as deleting DLI resources, you can use IAM for permission allocation. By granting users the ability to only use DLI resources without allowing them to delete these resources, you can control their access to DLI resources.

For newly created users, they must first log in to DLI once to record metadata before being able to use DLI.

IAM supports role/policy-based authorization and identity policy-based authorization.

You can distinguish the two types of authorization based on the Version field in the policy content, as shown in Table 1.

Table 1 Version information of the two types of authorization

Type

Version

Example

Role/Policy-based authorization

1.1

Identity policy-based authorization

5.0

The following table describes the differences between these two authorization models.

Table 2 IAM authorization types

Type

Core Relationship

Permission

Authorization Method

Use Case

Role/Policy-based authorization

User-permission-authorization scope

  • System-defined role
  • System-defined policy
  • Custom policy

Assigning roles or policies to principals

To authorize a user, you need to add it to a user group first and then specify the scope of authorization. It provides a limited number of condition keys and cannot meet the requirements of fine-grained permissions control. This method is suitable for small- and medium-sized enterprises.

Identity policy-based authorization

User-policy

  • System-defined policy
  • Custom identity policy
  • Assigning identity policies to principals
  • Attaching identity policies to principals

You can authorize a user by attaching an identity policy to it. User-specific authorization and a variety of key conditions allow for more fine-grained permissions control. However, this model can be hard to set up. It requires a certain amount of expertise and is suitable for medium- and large-sized enterprises.

IAM is free to use, and you only need to pay for the resources in your account. For more information about IAM, see Identity and Access Management Service Overview.

If your Huawei Cloud account does not need individual IAM users for permission management, skip over this section.

DLI System Permissions

Table 3 lists all system-defined permissions for DLI.

Table 3 DLI system permissions

Type

Link

System-defined permissions for role/policy-based authorization

System-defined permissions for identity policy-based authorization

DLI System Permissions

Permission types: Based on the granularity of authorization, they are divided into roles and policies.
  • Roles: A coarse-grained authorization strategy that defines permissions by job responsibility. This strategy offers limited service-level roles for authorization. Huawei Cloud services are interdependent. When you assign permissions using roles, you also need to attach any existing role dependencies. Roles are not suitable for fine-grained authorization and least privilege access.
  • Policies: A fine-grained authorization strategy that defines permissions required to perform operations on specific cloud resources under certain conditions. This strategy is more flexible and ideal for least privilege access. For example, you can grant IAM users only permissions to manage DLI resources of a certain type.

For details about the system-defined policies you need to perform common SQL operations, see Common Operations Supported by Each System Permission.