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

Synchronizing IAM Users to MRS

Updated on 2024-09-23 GMT+08:00

IAM user synchronization is to synchronize IAM users bound with MRS policies to the MRS system and create accounts with the same usernames but different passwords as the IAM users. Then, you can use an IAM username (the password needs to be reset by user admin of Manager) to log in to Manager for cluster management, and submit jobs on the GUI in a cluster with Kerberos authentication enabled.

Table 1 compares IAM users' permission policies and the synchronized users' permissions on MRS. For details about the default permissions on Manager, see Default Permissions of the MRS Cluster.

Table 1 Policy and permission mapping after synchronization

Policy Type

IAM Policy

User's Default Permissions on MRS After Synchronization

Have Permission to Perform the Synchronization

Have Permission to Submit Jobs

Fine-grained

MRS ReadOnlyAccess

Manager_viewer

No

No

MRS CommonOperations

  • Manager_viewer
  • default
  • launcher-job

No

Yes

MRS FullAccess

  • Manager_administrator
  • Manager_auditor
  • Manager_operator
  • Manager_tenant
  • Manager_viewer
  • System_administrator
  • default
  • launcher-job

Yes

Yes

RBAC

MRS Administrator

  • Manager_administrator
  • Manager_auditor
  • Manager_operator
  • Manager_tenant
  • Manager_viewer
  • System_administrator
  • default
  • launcher-job

No

Yes

Server Administrator, Tenant Guest, and MRS Administrator

  • Manager_administrator
  • Manager_auditor
  • Manager_operator
  • Manager_tenant
  • Manager_viewer
  • System_administrator
  • default
  • launcher-job

Yes

Yes

Tenant Administrator

  • Manager_administrator
  • Manager_auditor
  • Manager_operator
  • Manager_tenant
  • Manager_viewer
  • System_administrator
  • default
  • launcher-job

Yes

Yes

Custom

Custom policy

  • Manager_viewer
  • default
  • launcher-job
  • If custom policies use RBAC policies as a template, refer to the RBAC policies.
  • If custom policies use fine-grained policies as a template, refer to the fine-grained policies. The fine-grained policies are recommended.

Yes

NOTE:

To facilitate user permission management, use fine-grained policies rather than RBAC policies. In fine-grained policies, the Deny action takes precedence over other actions.

  • A user has permission to synchronize IAM users only when the user has the Tenant Administrator role or has the Server Administrator, Tenant Guest, and MRS Administrator roles at the same time.
  • A user with the action:mrs:cluster:syncUser policy has permission to synchronize IAM users.

Synchronizing IAM Users

  1. Create a user and authorize the user to use MRS. For details, see Creating an IAM User and Granting MRS Permissions.
  2. Log in to the MRS management console and create a cluster. For details, see Manually Buying an MRS Cluster.
  3. In the navigation pane on the left, choose Active Clusters. Click a cluster name to go to the cluster details page.
  4. On the Dashboard tab page, click Synchronize next to IAM User Sync to synchronize IAM users.
  5. In the IAM User Sync dialog box, search for the user group to which the IAM user to be synchronized belongs and click the user group name. In the User column, select the desired IAM user and click Synchronize.

    NOTE:
    • You can select all users to synchronize them at a time.
    • If you select user groups only, users will not be synchronized. You must select specific user names in the user group.
    • All user groups are displayed. Those cannot be selected cannot be synchronized.

  6. After a synchronization request is sent, choose Operation Logs in the navigation tree on the left of the MRS console to check whether the synchronization is successful. For details about the logs, see Viewing MRS Operation Logs.
  7. After the synchronization is successful, use the user synchronized with IAM to perform subsequent operations.

    NOTE:
    • When the policy of the user group to which the IAM user belongs changes from MRS ReadOnlyAccess to MRS CommonOperations, MRS FullAccess, or MRS Administrator, wait for 5 minutes until the new policy takes effect after the synchronization is complete because the SSSD (System Security Services Daemon) cache of cluster nodes needs time to be updated. Then, submit a job. Otherwise, the job may fail to be submitted.
    • When the policy of the user group to which the IAM user belongs changes from MRS CommonOperations, MRS FullAccess, or MRS Administrator to MRS ReadOnlyAccess, wait for 5 minutes until the new policy takes effect after the synchronization is complete because the SSSD cache of cluster nodes needs time to be updated.
    • After you click Synchronize on the right side of IAM User Sync, the cluster details page is blank for a short time, because user data is being synchronized. The page will be properly displayed after the data synchronization is complete.
    • Submitting jobs in a security cluster: Users can submit jobs using the job management function on the GUI in the security cluster. For details, see Running a MapReduce Job.
    • All tabs are displayed on the cluster details page, including Components, Tenants, and Backups & Restorations.
    • Logging in to Manager
      1. Log in to Manager as user admin. For details, see Accessing MRS Manager.
      2. Initialize the password of the user synchronized with IAM. For details, see Initializing MRS Cluster User Passwords.
      3. Modify the role bound to the user group to which the user belongs to control user permissions on Manager. For details, see Managing MRS Cluster User Groups. For details about how to create and modify a role, see Creating a Role. After the component role bound to the user group to which the user belongs is modified, it takes some time for the role permissions to take effect.
      4. Log in to Manager using the user synchronized with IAM and the password after the initialization in 7.b.
      NOTE:

      If the IAM user's permission changes, go to 4 to perform second synchronization. After the second synchronization, a system user's permissions are the union of the permissions defined in the IAM system policy and the permissions of roles added by the system user on Manager. After the second synchronization, a custom user's permissions are subject to the permissions configured on Manager.

      • System user: If all user groups to which an IAM user belongs are bound to system policies (RABC policies and fine-grained policies belong to system policies), the IAM user is a system user.
      • Custom user: If the user group to which an IAM user belongs is bound to any custom policy, the IAM user is a custom user.

  1. Undo IAM user synchronization.

    To undo the synchronization of an IAM user, select the user in the User column in the Synchronized tab and click Undo Sync.

    To undo the synchronization of all users in an IAM user group, select the user group in the User Group column in the Synchronized tab and click Undo Sync.

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