Programmatic calls with a RAM user's AccessKey

更新时间:
复制 MD 格式

This topic describes how to use an AccessKey to make programmatic calls to Risk Identification.

Use cases

In a typical use case, you use your Alibaba Cloud account to purchase a resource plan for Risk Identification. Then, you create a RAM user, grant the user the required permissions, and use their AccessKey to make service calls.

Create an AccessKey

Log on to the Alibaba Cloud account where you activated the service. Then, create a RAM user and grant the user permissions. You can then use the RAM user's AccessKey ID and AccessKey Secret to make service calls.

Follow these steps:

  1. Log on to the RAM console and create a RAM user. For detailed instructions, see Create a RAM user.

  2. Available system policies include:

    • AliyunYundunSAFFullAccess: Grants full management permissions for Risk Identification (SAF).

    • AliyunYundunSAFReadOnlyAccess: Grants read-only permissions for Risk Identification (SAF).

    Select the appropriate policy and attach it to the RAM user. For detailed instructions, see Grant permissions to a RAM user.

  3. Create an AccessKey for the RAM user. For detailed instructions, see Create an AccessKey for a RAM user.

Important

Your AccessKey ID and AccessKey Secret are important credentials for making API calls to Risk Identification and other cloud products. Keep them confidential and secure.

To mitigate the security risks of a compromised Alibaba Cloud account AccessKey, we strongly recommend using a RAM user's AccessKey for all programmatic access.