Updated on 2026-11-06 GMT+08:00

IAM Authorization Types and Use Cases

IAM is a foundational service for permission management. It offers functions such as identity authentication, permission assignment, and access control, enabling you to securely manage access to cloud resources with fine-grained control.

IAM Authorization Types and Use Cases

IAM enables you to control access to your cloud resources by assigning specific permissions to enterprise users. For example, to allow data analysts in your enterprise to use AI DataLake resources without granting delete or other high-risk permissions, you can create IAM users for them and assign fine-grained permission policies.

IAM supports two authorization types: role/policy-based authorization and identity policy-based authorization.

You can distinguish between the two authorization types by checking the Version field in the policy content, as shown in Table 1.

Table 1 Version information for the two authorization types

Type

Version

Example

Role/Policy-based authorization

1.1

Identity policy-based authorization

5.0

Table 2 describes the differences between the two authorization types and how they work together.

Table 2 IAM authorization types

Name

Core Relationship

Involved Permission

Authorization Method

Applicable Scenario

Reference

Role/Policy-based authorization

User-permission-authorization scope

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

Assigning roles or policies to principals

The core relationship follows the user-permission-authorization scope model. You assign permissions based on the required access and scope. You cannot assign permissions directly to individual users. You must manage permissions through user groups. Because this model supports only a limited number of condition keys, it cannot provide fine-grained control. It is best suited for small- and medium-sized enterprises with basic permission control requirements.

Using IAM Roles or Policies to Grant Access to AI DataLake

Identity policy-based authorization

User-Policy

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

The core relationship follows the user-policy model. Administrators can create custom access control policies based on service requirements to implement fine-grained, flexible permission control. Compared with role-based authorization, identity policy-based authorization lets you grant permissions to users faster when adding new resources, offering greater flexibility. However, because this model is more complex to manage and requires specialized expertise, it is best suited for medium- and large-sized enterprises with advanced authorization needs.

Using IAM Identity Policies to Grant Access to AI DataLake

Huawei Cloud IAM is free to use, and you only pay for the cloud resources created in your account. For details about IAM, see Identity and Access Management (IAM) Service Overview.

If your Huawei Cloud account already meets your requirements, you do not need to create individual IAM users for permission management. You can skip this section without affecting other AI DataLake functions.

Permission Types

Permissions are classified into roles and policies based on authorization granularity.

  • Roles: A coarse-grained authorization mechanism provided by IAM to grant permissions based on job responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you need to also assign other roles on which the permissions depend to take effect. Roles cannot fulfill fine-grained authorization requirements or satisfy strict enterprise security policies for least privilege.
  • Policies: A fine-grained authorization mechanism provided by IAM that defines the permissions required to perform operations on specific cloud resources under certain conditions. Policy-based authorization offers greater flexibility and satisfies enterprise security requirements for least privilege. For example, an administrator can grant IAM users permissions to manage only specific AI Data Lake resources.