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/ Domain Name Service/ User Guide/ Resolver/ Sharing an Endpoint Rule

Sharing an Endpoint Rule

Updated on 2025-02-28 GMT+08:00

Overview

You can also share your endpoint rules to other accounts if you are the owner of these rules. Resource owners can select different permissions based on the principle of least privilege (PoLP) and service requirements, and principals can only access resources within their permissions. This improves resource security. For more information about RAM, see What Is Resource Access Manager?

If your account is managed by Huawei Cloud Organizations, you can enable sharing with Organizations to share resources more easily. If your account is in an organization, you can share resources either with individual accounts or with all accounts in the organization or in an organization unit (OU) without the need to enumerate each account. For details, see Enabling Sharing with Organizations.

Constraints

  • You are the resource owner. Only resource owners can share the resources in their accounts with other accounts. You cannot share endpoint rules that are shared with your account.
  • If you share an endpoint rule with your organization or an OU, you must enable sharing with Organizations. For details, see Enabling Sharing with Organizations.
  • A principal can accept up to 50 endpoint rules from resource owners.

Creating a Share

  1. Go to the Resolvers page.
  2. Click in the upper left corner and select the desired region and project.
  3. Click the Endpoint Rules tab to view the endpoint rule list.
  4. Locate the endpoint rule and choose More > Share in the Operation column.
  5. On the Create Resource Share page, specify the resource to be shared, configure permissions, and specify users as prompted.

    For details, see Creating a Resource Share.

NOTE:

After an owner shares an endpoint rule with a principal, the principal needs to accept or reject the sharing within a specified period. For details, see Responding to a Resource Sharing Invitation.

Viewing Share Details

  1. Go to the Resolvers page.
  2. Click in the upper left corner and select the desired region and project.
  3. Click the Endpoint Rules tab to view the endpoint rule list.
  4. Go to the Shared with Me tab and view the endpoint rules that are shared with your account.
    NOTE:
    • If you are the owner of a shared endpoint rule, you can view the shared endpoint rule, permissions, and principals on the RAM console. For details, see Viewing a Resource Share.
    • If you are a principal of a shared endpoint rule, you can view the shared endpoint rule, permissions, and resource owner on the RAM console. For details, see Viewing Resources Shared with You.

Stopping a Share

  • If a share is no longer needed, you can delete it at any time as the owner. Deleting a share does not delete the shared resources. After a share is deleted, the principals will no longer use the shared resources. For details, see Deleting a Resource Share.
  • If you are a principal and you do not need to access the shared resources, you can leave the resource share at any time. After you leave a resource share, you lose access to the shared resources.

    You can leave a resource share only if the resources were shared with you as an individual Huawei Cloud account and not as part of an organization. You cannot leave a resource share if you were added to it by an account inside your organization and sharing with Organizations is enabled. For details, see Leaving a Resource Share.

Operation Permissions on Shared Endpoint Rules

The owner and principals of shared endpoint rule have different operation permissions on the endpoint rule and associated resources. For details, see Table 1.
Table 1 Operation permissions on shared endpoint rules and associated resources

Resource

Owner

Principal

Endpoint rule

Has all operation permissions on the shared endpoint rule.

Can only view the VPCs that are associated with the shared endpoint rule, but cannot perform any operations on the VPCs.

Resource and Region Availability

Table 2 lists the resources that can be shared and regions where resource sharing is supported.

Table 2 Resources that can be shared and regions where resource sharing is supported

Cloud Service

Resource Type

Regions Where Sharing Is Available

DNS

Endpoint rules

CN North-Ulanqab1, CN Southwest-Guiyang1, AP-Bangkok, AP-Singapore, AP-Jakarta, LA-Sao Paulo1, TR-Istanbul, and AF-Johannesburg

Billing

Endpoint rules are free of charge.

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