Updated on 2024-03-15 GMT+08:00

Creating a Resource Share

Scenario

To share resources with other accounts, you need to first create a resource share. During the creation, you need to specify the resources to share, associate permissions with each resource type, specify the principals to grant access, and confirm the configuration details.

Procedure

  1. Log in to the Huawei Cloud management console.
  2. Click in the upper left corner and choose Management & Governance > Resource Access Manager. The Resource Access Manager page is displayed.
  3. Choose Shared by Me > Resource Shares.
  4. Click Create Resource Share in the upper right corner.
    Figure 1 Creating a resource share
  5. On the displayed Specify Resource Share Details page, configure basic information and specify the resources to share, and then click Next: Associate Permissions in the lower right corner.

    When creating a resource share, you can specify up to 20 resources to share at a time. However, you can update the resource share you created to add more resources. For details, see Updating a Resource Share.

    Figure 2 Specifying resources to share
  6. On the Associate Permissions page, associate a RAM managed permission with each resource type, and then click Next: Specify Principals in the lower right corner.

    RAM managed permissions available for your selection are system permissions predefined by RAM. Some resource types may have multiple permissions available. You can select as needed. For the details of each permission, see Viewing the RAM Permissions Library.

    Figure 3 Associating permissions
  7. On the Grant Access to Principals page, specify the principals that you want to have access to the resources, and then click Next: Confirm in the lower right corner.

    In this step, you can select either Allow sharing with any Huawei Cloud principal or Allow sharing only within your organization. If you select the latter, choose any principals that are within your organization.

    You can set Principal Type to Organization or Huawei Cloud account ID. The Organization option is available only when the toggle key Sharing with Organizations is turned on. For details, see Enabling Sharing with Organizations.

    Figure 4 Granting access to any Huawei Cloud principal
    Figure 5 Granting access to principals within your organization
  8. Review and confirm the configuration details of your resource share and select I have read and agree to Privacy Statement on the Confirm page. Then, click Submit in the lower right corner.
    Figure 6 Confirming configurations

    After a resource share is created, RAM sends a sharing invitation to the specified principals. The principals can access and use the shared resources only after they accept the invitation. If the specified principals are within your organization and sharing with Organizations is enabled, the principals can access and use the shared resources without accepting the invitation.

    Each principal can be shared with a maximum of 100 VPC subnets.