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
Help Center/ Cloud Search Service/ User Guide/ CSS Service Permission Management/ Example: Granting IAM Users the Permission to Create CSS Clusters

Example: Granting IAM Users the Permission to Create CSS Clusters

Updated on 2025-01-23 GMT+08:00

To implement fine-grained permission management for CSS, you can use Identity and Access Management (IAM) to create independent IAM users and assign policies or roles to IAM user groups. The policies and roles can be used to control access to CSS resources.

This section describes how to create an IAM user and add the IAM user to a user group, so that the IAM user has the permission to create CSS clusters.

  1. Creating a User Group: The staff of company A is divided into an admin group and a developer group. The default group admin is generated after company A's administrator registers an account. The administrator needs to create another group in IAM for the developer team.
  2. Assigning Permissions to a User Group: Developers in the company need to use cloud services CSS and OBS, so the administrator needs to assign the required permissions to the developer group to enable access to these services. After permissions are assigned, users in the two groups can access the corresponding resources.
  3. Creating IAM Users: Create IAM users for your staff and add them to different groups. The users have their own credentials and can perform operations on cloud resources based on the permissions inherited from their respective groups.
  4. Logging In Using an IAM User and Verifying Permissions: After using the account of company A (A-Company) to create users James, Alice, Charlie, Jackson, and Emily, the administrator needs to send the account name, IAM user names, and IAM users' initial passwords to the corresponding employees, who can then use their own usernames and passwords to access the cloud platform. Then, they can create clusters on the CSS console and by doing so verify their permissions.

Creating a User Group

  1. (Company A administrator) Log in to the Huawei Cloud management console.
  2. On the management console, hover the mouse pointer over the username in the upper right corner, and choose Identity and Access Management from the drop-down list.
  3. On the IAM console, choose User Groups and click Create User Group.
  4. Enter Developers for Name, and click OK.

Assigning Permissions to a User Group

  1. In the user group list, click AuthorizeManage Permissions in the row that contains the developer user group.
  2. In the Select Policy/Role step, search for CSS FullAccess and OBS Administrator in the search box, select them, and click Next.

    • Both the CSS FullAccess and Elasticsearch Administrator permissions enable users to create CSS clusters.
    • If users in the group need to view resource usage, attach the BSS Administrator role to the group for the same project.

  3. Select a scope. Set Scope to Region-specific projects, and select the region where your resources are.

    Take the AP-Singapore region as an example. Set Scope to Region-specific projects and select ap-southeast-3 [AP-Singapore].

  4. Click OK.

Creating IAM Users

  1. In the navigation pane of the IAM console, choose Users. Then click Create User.
  2. Specify the user details and access type. To create more users, click Add User. A maximum of 10 users can be created at a time.

    Figure 1 Configuring user information
    NOTE:
    • Users can log in to Huawei Cloud using the username, email address, or mobile number.
    • If users forget their password, they can reset it through email address or mobile number verification. If no email addresses or mobile numbers have been bound to users, users need to contact the administrator to reset their passwords.
    Table 1 User information

    Parameter

    Description

    Username

    Username that will be used to log in to Huawei Cloud, for example, James and Alice. This field is required.

    Email Address

    Email address of the IAM user that can be used as a login credential. IAM users can bind an email address after they are created. This field is required if you have specified Set by user as the credential type.

    Mobile Number

    Mobile phone number of the IAM user that can be used as a login credential. IAM users can bind a mobile number after they are created. This field is optional.

    Description

    Additional information about the IAM user. This field is optional.

    Figure 2 Setting the access type
    • Programmatic access: Select this option to allow the user to access Huawei Cloud services using development tools, such as APIs, CLI, and SDKs. You can generate an access key or set a password for the user.
    • Management console access: Select this option to allow the user to access Huawei Cloud services using the management console. You can set or generate a password for the user or request the user to set a password at first 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 calls, 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 Access key and Password for Credential Type. For example, the user needs to perform access key verification when creating a data migration job in the Cloud Data Migration (CDM) console.
      Table 2 Setting the credential type and login protection

      Credential Type and Login Protection

      Description

      Access key

      After users are created, you can download the access keys (AK/SK) generated for these users.

      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 first login.

      If you are the user, select this option and set a password for login. You do not need to select Require password reset at first login.

      Automatically generated

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

      This option is available only when you create a single 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, 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.

      Login Protection

      Enable (Recommended)

      If login protection is enabled, the IAM user needs to enter a verification code in addition to the username and password during login. Enable this function for account security.

      You can select SMS, email, or virtual MFA device for verification during login.

      Disable

      If login protection is disabled, you can enable it later by following the instructions provided in Viewing or Modifying IAM User Information.

  3. (Optional) Click Next to add the users to user groups.

    • The user will inherit the permissions assigned to the user groups to which the user belongs.
    • You can also create new groups as required.
    NOTE:
    • If the user will be an administrator, add the user to the default group admin.
    • Each user can be added to multiple user groups.

  4. Click Next. If you have specified the access type as Programmatic access in Step 2, download the access key on the Finish page.

    Figure 3 Users created successfully

Logging In Using an IAM User and Verifying Permissions

  1. Click IAM UserIAM User LoginIAM User Login on the login page, and then enter your Tenant name or Huawei Cloud account name, IAM user name or email address, and IAM user passwordAccount name, IAM user name or email, and PasswordAccount name, IAM user name or email, and Password.

    Figure 4 Logging in as an IAM user
    Table 3 Login parameters

    Parameter

    Example

    Description

    Tenant name or Huawei Cloud account name

    Company-A

    Account used to create the IAM user, for example, Company-A.

    IAM username or email address

    Alice

    IAM username or email address entered during the user creation. You can obtain the IAM username and IAM user's initial password from the administrator.

    IAM user password

    ********

    Password of the IAM user, rather than the account. Enter the downloaded password.

  2. Click Log In.
  3. Choose Service List, search for CSS, and click the service name to go to the CSS console.
  4. In the upper right corner of the Dashboard page, click Create Cluster. Create a cluster by following the steps provided in Creating a Cluster. If the cluster can be created, the permissions have taken effect.

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