Authorize a RAM user to access services

Updated at:

You can use RAM users to access finance-level ID Verification. You can create RAM users and grant permissions to them. Depending on the authorization scope, you can authorize the RAM user to use the SDK or API of the financial-level ID Verification service. You can also allow the RAM user to view only the calls of the financial-level ID Verification service. This topic describes how to create and authorize a RAM user and how to generate an AccessKey for calling services.

Prerequisites

Before you authorize a RAM user to access the service, you must complete the following requirements:

Procedure

  1. Log on to the RAM console as the RAM administrator.

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

  3. On the Users page, find the RAM user that you want to manage and click Add Permissions in the Actions column.

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

    1. Select a resource range.

    2. Configure the Principal parameter.

      The principal is the RAM user to whom you want to grant permissions. The current RAM user is automatically selected.

    3. Configure the Policy parameter.

      A policy contains a set of permissions. Policies can be classified into system policies and custom policies. You can select multiple policies at a time.

      • System policy: The system policy is created by Alibaba Cloud. The version of the policy is updated and maintained by Alibaba Cloud. You can only use the policy but cannot modify it. For more information, see Alibaba Cloud services that support RAM.

        Note

        The system automatically identifies high-risk system policies, such as AdministratorAccess and AliyunRAMFullAccess, and tries to avoid granting unnecessary high-risk policies.

      • Custom policies are managed by users. The version updates of policies are maintained by users. You can create, update, and delete custom policies. For more information, see Create a custom policy.

        The following table describes the system policies supported by Finance-grade ID Verification services. You can enter the keyword of the policy name in the search box, such as AntCloudAuth or SAF, to search for relevant permissions.

        Policy Name

        Remarks

        Permission scope description

        AliyunAntCloudAuthFullAccess

        Permissions to manage the finance-level ID Verification service (AntCloudAuth).

        The following operations are supported:

        • Create a scene.

        • Call the operation.

        • View call information.

        • The product is activated by the RAM user.

        AliyunAntCloudAuthReadOnlyAccess

        The read-only permission to access the finance-level ID Verification service (AntCloudAuth).

        Only call information can be viewed.

        AliyunYundunCloudAuthFullAccess

        Permissions to manage the Finance-level ID Verification console.

        The following operations are supported:

        • View all information in the console.

        • Create, edit, and delete scenes.

        AliyunYundunCloudAuthReadOnlyAccess

        Read-only access to the Finance-level ID Verification console.

        You can only log on to the Financial ID Verification console to view the information.

        AliyunYundunSAFFullAccess

        Permissions to manage Security Fraud Detection (SAF).

        Only API calls are supported (applicable to the original finance-level version).

        Important

        This permission is required when you call Alipay-related solutions.

  5. Click Confirm Authorization.

  6. Click Close.

  7. If a RAM user needs to call an operation, you must create an AccessKey pair for the RAM user to authenticate the identity of the RAM user. For more information about how to create an AccessKey pair for a RAM user, see Create an AccessKey pair.

    Note

    We recommend that you create an AccessKey only for RAM users who need to call APIs.

Execution result

After the authorization is completed, the RAM user can access services or view call information.

Next Steps

To view the product console, you must log on to the Alibaba Cloud Management Console, search for Finance-level ID Verification in the Products and Services section, and then click the icon. For more information about how to log on to the Alibaba Cloud Management Console as a RAM user, see Log on to the Alibaba Cloud Management Console as a RAM user.