Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Permissions

Updated on 2024-04-08 GMT+08:00

If you need to assign different permissions for IAM to employees in your organization, IAM is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your resources.

With IAM, you can create IAM users under your account, and assign permissions to these users to control their access to specific resources. For example, you can grant permissions to allow certain project planners in your enterprise to view IAM data but disallow them to perform any high-risk operations, for example, deleting IAM users and projects. For all permissions of the services supported by IAM, see "Permissions".

IAM Permissions

New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and attach policies or roles to these groups. The users then inherit permissions from the groups and can perform specified operations on cloud services based on the permissions they have been assigned.

IAM is a global service deployed for all regions. When you set the authorization scope to Global services, users have permission to access IAM in all regions.

You can grant permissions by using roles and policies.

  • Roles: A coarse-grained authorization strategy provided by IAM to assign permissions based on users' job responsibilities. Only a limited number of service-level roles are available for authorization. Cloud services depend on each other. When you grant permissions using roles, you also need to attach any existing role dependencies. Roles are not ideal 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 type of authorization is more flexible and is ideal for least privilege access. For example, you can grant users only permission to manage ECSs of a certain type. A majority of fine-grained policies contain permissions for specific APIs, and permissions are defined using API actions. For the API actions supported by IAM, see "Identity and Access Management API Reference > Permissions Policies and Supported Actions."

Table 1 lists all the system-defined permissions for IAM.

Table 1 System-defined permissions for IAM

Role/Policy Name

Description

Type

Content

FullAccess

Full permissions for all services that support policy-based authorization. Users with these permissions can perform operations on all services.

System-defined policy

Content of the FullAccess Policy

IAM ReadOnlyAccess

Read-only permissions for IAM. Users with these permissions can only view IAM data.

System-defined policy

Content of the IAM ReadOnlyAccess Policy

Security Administrator

IAM administrator with full permissions, including permissions to create and delete IAM users.

System-defined role

Content of the Security Administrator Role

Agent Operator

IAM operator (delegated party) with permissions to switch roles and access resources of a delegating party.

System-defined role

Content of the Agent Operator Role

Tenant Guest

Read-only permissions for all services except IAM.

System-defined policy

Content of the Tenant Guest Role

Tenant Administrator

Administrator permissions for all services except IAM.

System-defined policy

Content of the Tenant Administrator Role

Table 2 lists the common operations supported by system-defined permissions for IAM.

NOTE:

Tenant Guest and Tenant Administrator are basic roles provided by IAM and do not contain any specific permissions for IAM. Therefore, the two roles are not listed in the following table.

Table 2 Common operations supported by system-defined permissions

Operation

Security Administrator

Agent Operator

FullAccess

IAM ReadOnlyAccess

Creating IAM users

Supported

Not supported

Supported

Not supported

Querying IAM user details

Supported

Not supported

Supported

Supported

Modifying IAM user information

Supported

Not supported

Supported

Not supported

Querying security settings of IAM users

Supported

Not supported

Supported

Supported

Modifying security settings of IAM users

Supported

Not supported

Supported

Not supported

Deleting IAM users

Supported

Not supported

Supported

Not supported

Creating user groups

Supported

Not supported

Supported

Not supported

Querying user group details

Supported

Not supported

Supported

Supported

Modifying user group information

Supported

Not supported

Supported

Not supported

Adding users to user groups

Supported

Not supported

Supported

Not supported

Removing users from user groups

Supported

Not supported

Supported

Not supported

Deleting user groups

Supported

Not supported

Supported

Not supported

Assigning permissions to user groups

Supported

Not supported

Supported

Not supported

Removing permissions of user groups

Supported

Not supported

Supported

Not supported

Creating custom policies

Supported

Not supported

Supported

Not supported

Modifying custom policies

Supported

Not supported

Supported

Not supported

Deleting custom policies

Supported

Not supported

Supported

Not supported

Querying permission details

Supported

Not supported

Supported

Supported

Creating agencies

Supported

Not supported

Supported

Not supported

Querying agencies

Supported

Not supported

Supported

Supported

Modifying agencies

Supported

Not supported

Supported

Not supported

Switching roles

Not supported

Supported

Supported

Not supported

Deleting agencies

Supported

Not supported

Supported

Not supported

Granting permissions to agencies

Supported

Not supported

Supported

Not supported

Removing permissions of agencies

Supported

Not supported

Supported

Not supported

Creating projects

Supported

Not supported

Supported

Not supported

Querying projects

Supported

Not supported

Supported

Supported

Modifying projects

Supported

Not supported

Supported

Not supported

Deleting projects

Supported

Not supported

Supported

Not supported

Creating identity providers

Supported

Not supported

Supported

Not supported

Importing metadata files

Supported

Not supported

Supported

Not supported

Querying metadata files

Supported

Not supported

Supported

Supported

Querying identity providers

Supported

Not supported

Supported

Supported

Querying protocols

Supported

Not supported

Supported

Supported

Querying mappings

Supported

Not supported

Supported

Supported

Updating identity providers

Supported

Not supported

Supported

Not supported

Updating protocols

Supported

Not supported

Supported

Not supported

Updating mappings

Supported

Not supported

Supported

Not supported

Deleting identity providers

Supported

Not supported

Supported

Not supported

Deleting protocols

Supported

Not supported

Supported

Not supported

Deleting mappings

Supported

Not supported

Supported

Not supported

Querying quotas

Supported

Not supported

Supported

Not supported

If an IAM user wants to manage the access keys of other IAM users, see Table 3. For example, if IAM user A wants to create an access key for IAM user B, IAM user A must have the Security Administrator or FullAccess permission.

Table 3 Access key operations supported by system-defined policies or roles

Operation

Security Administrator

Agent Operator

FullAccess

IAM ReadOnlyAccess

Creating access keys (for other IAM users)

Supported

Not supported

Supported

Not supported

Querying access keys (of other IAM users)

Supported

Not supported

Supported

Supported

Modifying access keys (for other IAM users)

Supported

Not supported

Supported

Not supported

Deleting access keys (for other IAM users)

Supported

Not supported

Supported

Not supported

Content of the FullAccess Policy

{
    "Version": "1.1",
    "Statement": [
        {
            "Action": [
                "*:*:*"
            ],
            "Effect": "Allow"
        }
    ]
}

Content of the IAM ReadOnlyAccess Policy

{
    "Version": "1.1",
    "Statement": [
        {
            "Action": [
                "iam:*:get*",
                "iam:*:list*",
                "iam:*:check*"
            ],
            "Effect": "Allow"
        }
    ]
}

Content of the Security Administrator Role

{
    "Version": "1.0",
    "Statement": [
        {
            "Action": [
                "iam:agencies:*",
                "iam:credentials:*",
                "iam:groups:*",
                "iam:identityProviders:*",
                "iam:mfa:*",
                "iam:permissions:*",
                "iam:projects:*",
                "iam:quotas:*",
                "iam:roles:*",
                "iam:users:*",
                "iam:securitypolicies:*"
            ],
            "Effect": "Allow"
        }
    ]
}

Content of the Agent Operator Role

{
    "Version": "1.0",
    "Statement": [
        {
            "Action": [
                "iam:tokens:assume"
            ],
            "Effect": "Allow"
        }
    ]
}

Content of the Tenant Guest Role

{
    "Version": "1.1",
    "Statement": [
        {
            "Action": [
                "obs:*:get*",
                "obs:*:list*",
                "obs:*:head*"
            ],
            "Effect": "Allow"
        },
        {
            "Condition": {
                "StringNotEqualsIgnoreCase": {
                    "g:ServiceName": [
                        "iam"
                    ]
                }
            },
            "Action": [
                "*:*:get*",
                "*:*:list*",
                "*:*:head*"
            ],
            "Effect": "Allow"
        }
    ]
}

Content of the Tenant Administrator Role

{
    "Version": "1.1",
    "Statement": [
        {
            "Action": [
                "obs:*:*"
            ],
            "Effect": "Allow"
        },
        {
            "Condition": {
                "StringNotEqualsIgnoreCase": {
                    "g:ServiceName": [
                        "iam"
                    ]
                }
            },
            "Action": [
                "*:*:*"
            ],
            "Effect": "Allow"
        }
    ]
}

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback