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
Help Center/ OneAccess/ Best Practices/ Application Integration/ Logging In to the Huawei Cloud Through User Portal/ Logging In to Multiple Huawei Cloud Accounts via OneAccess Without Password (SAML - IAM User SSO)

Logging In to Multiple Huawei Cloud Accounts via OneAccess Without Password (SAML - IAM User SSO)

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

This section uses SAML as an example to describe how to use OneAccess to log in to multiple Huawei Cloud account without entering a password. For details about Huawei Cloud identity providers (IdPs), see Identity Provider Overview.

Creating an IdP on Huawei Cloud

Create an IdP and configure the metadata file on the Huawei Cloud console.

  1. Log in to the OneAccess administrator portal and download the metadata file of OneAccess.

    1. Log in to the administrator portal.
    2. On the top navigation bar, choose Settings > Service Settings.
    3. On the displayed page, click IDP.
    4. On the IdP configuration page, click Download IDP Metadata in the upper right. The metadata file is automatically saved.

  2. Create an IdP of the IAM user SSO type. For details, see Creating an IdP Entity on Huawei Cloud.

    NOTE:

  3. Obtain the Huawei Cloud login link, and the values of domain_id and idp.

  4. Configure the metadata file of the OneAccess IdP on Huawei Cloud. For details, see Configuring the Metadata File of the Identity Provider.
  5. Configure an external identity ID for the IAM user on Huawei Cloud by referring to Configuring an External Identity ID to establish the mapping between the OneAccess user and the IAM user.
  6. Repeat 2 to 5 for other Huawei Cloud accounts.

Establishing a Trust Between OneAccess and Huawei Cloud

Configure the metadata file of Huawei Cloud in OneAccess to establish a trust on Huawei Cloud.

  1. Add the Huawei Cloud application in OneAccess.

    1. Log in to the OneAccess administrator portal, and choose Resources > Applications.
    2. Click Add Pre-integrated Application under Pre-integrated Applications.
    3. On the Add Pre-integrated Application page, click Huawei Cloud.
    4. On the Add Application page, confirm the general information, and click Next.
    5. On the Authentication Parameters page, click Import SP Metadata, click Select File, select the Huawei Cloud metadata file, and click Open. The system automatically extracts the metadata.
      NOTE:
    6. When the Select File button changes to , the system has extracted the metadata. Click Next.
    7. On the authentication integration page, click Modify on the Parameters tab page, and replace /saml/LogoutServiceHTTPRedirect in the value of Single Logout URL with /logout.

  2. Configure mappings between OneAccess and Huawei Cloud.

    1. Click the added Huawei Cloud application. On the application information page, click the application icon to go to the application details page.
    2. Choose Authentication Integration > Mappings.
    3. Click Add Mapping and add a mapping whose application attribute is IAM_SAML_Attributes_xUserId to establish the attribute mapping between OneAccess and Huawei Cloud. The mapping object can be an existing attribute of the OneAccess user or a new custom attribute. The mapping object must be the same as the external identity ID of the IAM user added in 5.
    4. Click Add Mapping, and set Application Attribute to IAM_SAML_Attributes_identityProviders, Mapping Type to Fixed attribute value, and Fixed attribute value to iam::{domain_id}:identityProvider:{idp_id}. {domain_id} indicates the domain ID obtained in 3, and {idp_id} indicates the ID obtained in 3. Use semicolons (;) to separate Huawei Cloud accounts for redirection to a target account. If there are two Huawei Cloud accounts, the values are as follows:

      iam::657ba0e***********19fd684d8758c:identityProvider:SAML-IAM;iam::e35f949b3*********2b79ba14839c:identityProvider:SAML-OneAccess

    5. (Optional) Click Add Mapping, and set Application Attribute to IAM_SAML_Attributes_redirect_url, Mapping Type to Fixed attribute value, and Fixed attribute value to a specific service page on the Huawei Cloud Console (if the service address contains the agencyId=***& field, delete this field), so that the SSO can be redirected to the service page. If no service page is specified in the value, the Huawei Cloud home page is displayed by default.

  3. Grant Huawei Cloud access permissions to users in OneAccess.

    On the Huawei Cloud application details page, choose Authorization > Application Accounts, click the button for adding accounts, select required accounts, and click Save. The selected accounts can access Huawei Cloud via OneAccess without a password.

Logging In as a User

Users with Huawei Cloud access permissions can access the Huawei Cloud console with a single click after logging in to the OneAccess user portal and selecting an IdP.

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