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
Situation Awareness
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
On this page

Creating an IAM User

Updated on 2024-12-25 GMT+08:00

If you are an administrator and have purchased multiple resources on Huawei Cloud, such as Elastic Cloud Servers (ECSs), Elastic Volume Service (EVS) disks, and Bare Metal Servers (BMSs), you can create IAM users and grant them permissions required to perform operations on specific resources. This way, you do not need to share the password of your account.

New IAM users do not have any permissions assigned by default. You can assign permissions to new users, or add them to one or more groups and grant permissions to these groups by referring to Assigning Permissions to a User Group so that the users can inherit the permissions of the groups. The users then can perform specific operations on cloud services as specified by the permissions.

The default user group admin has all permissions required to use all of the cloud resources. Users in this group can perform operations on all the resources, including but not limited to creating user groups and users, modifying permissions, and managing resources.

NOTE:

If you delete a user and then create a new user with the same name, you need to grant the required permissions to the new user again.

Procedure

  1. Log in to the IAM console as the administrator.
  2. Choose Users from the left navigation pane and click Create User in the upper right corner.

    Figure 1 Creating an IAM user

  3. Specify the user information on the Create User page. To create more users, click Add User. You can add a maximum of 10 users at a time.

    Table 1 User details

    Parameter

    Description

    Username

    This parameter is user-defined and cannot be the same as that of any other account or any IAM user in the account.

    Email Address

    This parameter is user-defined and cannot be the same as that of any other account or any IAM user in the account. It can be used to authenticate the IAM user and reset the password.

    Mobile Number

    This parameter is user-defined and cannot be the same as that of any other account or any IAM user in the account. It can be used to authenticate the IAM user and reset the password.

    External Identity ID

    Identity of an enterprise user in IAM user SSO.

    This parameter must be specified if you want to configure virtual user SSO via SAML for an IAM user. The value contains a maximum of 128 characters.

    NOTE:
    • IAM users can log in to Huawei Cloud using the username, email address, or mobile number.
    • If users forget their passwords, they can reset the passwords through email address or mobile number verification. If no email addresses or mobile numbers have been bound to users, users need to request the administrator to reset their passwords.

  4. Specify Access Type.

    Figure 2 Selecting access types
    Table 2 Access types

    Access Type

    Description

    Programmatic access

    An access key or password is generated for the IAM user. This type allows access to cloud services using development tools, such as APIs, CLI, and SDKs.

    Management console access

    A password is generated for the IAM user. This type allows access to cloud services using the management console. A password is mandatory for login.

    NOTE:
    • If the user accesses cloud services only by using the management console, select Management console access for Access Type and Password for Credential Type.
    • If the user accesses cloud services only through programmatic access, select Programmatic access for Access Type and Access key for Credential Type
    • If the user needs to use a password as the credential for programmatic access to certain APIs, select Programmatic access for Access Type and Password for Credential Type.
    • If the user needs to perform access key verification when using certain services in the console, select Programmatic access and Management console access for Access Type, and select Access key and Password for Credential Type. For example, the user needs to perform access key verification before creating a data migration job in the Cloud Data Migration (CDM) console.

  5. Specify Credential Type.

    Figure 3 Selecting credential types
    Table 3 Credential types

    Credential Type

    Description

    Access key

    After creating the user, you can download the access key (AK/SK) generated for the user.

    Each user can have a maximum of two access keys.

    Password

    Set now

    Set a password for the user and determine whether to require the user to reset the password at the first login.

    If you will use the IAM user by yourself, you are advised to select this option, enter a password, and deselect Require password reset at first login.

    Automatically generated

    The system automatically generates a login password for the user. After the user is created, you can download the EXCEL password file and provide the password to the user. The user can then use this password for login.

    The password file must be downloaded upon the user creation. If you cancel the download, the password file cannot be obtained again. You can reset the user password by referring to Changing the Password of an IAM User.

    This option is available only when you create an individual user.

    Set by user

    A one-time login URL will be emailed to the user. The user can click on the link to log in to the console and set a password.

    If you do not use the IAM user by yourself, select this option and enter the email address and mobile number of the IAM user. The user can then set a password by clicking on the one-time login URL sent over email. The login URL is valid for seven days.

    USB Key

    A USB key is a device that stores user credentials. You can use a USB key, rather than a password to verify your identity. This option is more secure, as there is no password to be leaked.

    Once selected, the USB key is the only way for the IAM user to log in. The password will be invalidated and can no longer be used.

    Table 4 Recommended configurations

    Management Console Access

    Programmatic Access

    Credential Type

    Recommended Access Type

    Recommended Credential Type

    Select

    Deselect

    There are no special requirements.

    Management console access

    Password

    Deselect

    Select

    There are no special requirements.

    Programmatic access

    Access key

    Deselect

    Select

    A password is required as a credential for programmatic access (required by some APIs).

    Programmatic access

    Password

    Select

    Select

    The access key (entered by the IAM user) needs to be verified on the console.

    For example, the user needs to perform access key verification before creating a data migration job in the Cloud Data Migration (CDM) console.

    Programmatic access and management console access

    Password and access key

  6. Configure login protection. This parameter is available only when you have selected Management console access for Access Type.

    Figure 4 Enabling login protection
    • Enable (Recommend for account security): The user needs to enter a verification code in addition to the username and password for login.

      You can choose SMS-, email-, or virtual MFA–based login verification.

    • Disable: The user does not need to enter a verification code for login. If you want to enable login protection after the user is created, see Login Protection.

  7. Click Next. Select the user groups to add the user. The user will inherit the permissions assigned to the user groups.

    Figure 5 Adding the user to a user group
    NOTE:
    • You can also create a new group and add the user to that group.
    • If you want the user to be an administrator, add the user to the default group admin.
    • You can add a user to a maximum of 10 user groups.

  8. Click Create.

    • If you have selected Access key for Credential Type in 5, you can download the access key on the Finish page.
    • If you have selected Password > Automatically generated for Credential Type in 5, you can download the password file on the Finish page.
      Figure 6 Users created successfully

Related Operations

  • IAM users created without being added to any groups do not have any permissions. The administrator can assign permissions to these IAM users on the IAM console. IAM users can also assign permissions to themselves. Then the users can use cloud resources based on the assigned permissions. For details, see Assigning Permissions to an IAM User.
  • Accounts and IAM users use different methods to log in. For details about IAM user login, see Logging In as an IAM User.

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