All Products
Search
Document Center

:Authorize RAM users to access resources

更新時間:Dec 12, 2023

Resource Access Management (RAM) is a permission management system provided by Alibaba Cloud. You can use RAM to create RAM users within the permissions of an Alibaba Cloud account. Different RAM users can be granted different permissions to allow or deny access to specific cloud resources.

Background information

By default, when you use an Alibaba Cloud account to create an ApsaraDB for ClickHouse cluster, the cluster becomes the resource that the account owns. An Alibaba Cloud account has full permissions on its resources.

RAM allows you to grant RAM users access and management permissions on ApsaraDB for ClickHouse clusters that are created within your Alibaba Cloud account.

Prerequisites

A RAM user is created. For more information about how to create a RAM user, see Create a RAM user.

Procedure

  1. Log on to the RAM console by using an Alibaba Cloud account or a RAM user that has administrative rights.

  2. In the left-side navigation pane, choose Identities > Users.

  3. On the Users page, find the required RAM user and click Add Permissions in the Actions column.

  4. In the Add Permissions panel, grant permissions to the RAM user.

    1. Select the authorization scope.

      • Alibaba Cloud Account: The authorization takes effect on the current Alibaba Cloud account.

      • Specific Resource Group: The authorization takes effect on a specific resource group.

        Note

        If you select Specific Resource Group for Authorized Scope, make sure that the required cloud service supports resource groups. For more information, see Services that work with Resource Group.

    2. Specify the principal.

      The principal is the RAM user to which you want to grant permissions.

    3. Select policies.

      RAM supports the following types of policies: system policies and custom policies. You can choose policies based on your business requirements.

      Note

      You can attach a maximum of five policies to a RAM user at a time. If you want to attach more than five policies to a RAM user, perform the operation multiple times.

  5. Click OK.

  6. Click Complete.

References