This topic describes the preparations required for calling the Content Moderation API.
Activate the service
- Register an Alibaba Cloud account on the Alibaba Cloud official website. Skip this step if you have registered an account.
- Open the landing page of Alibaba Cloud Content Moderation and click Enable Now to activate the service.
Create an AccessKey
Manage your AccessKey ID and AccessKey secret on the AccessKey management page.
Note An AccessKey is the key for using the Content Moderation API and has all permissions
on your Alibaba Cloud account. Keep your AccessKey confidential and change it periodically.
Create and authorize a RAM user
Content Moderation allows you to use the AccessKey ID and AccessKey secret of a RAM user to call the Content Moderation API.
Follow these steps to create and authorize a RAM user:
- Log on to the RAM console, create a RAM user, and then generate its AccessKey ID and AccessKey secret. Properly
keep the generated AccessKey ID and AccessKey secret for calling the API operations
and SDKs later.
For more information, see Create a RAM user.
- Authorize the RAM user. Grant the following system policy permission to the RAM user
you created:
AliyunYundunGreenWebFullAccess
.For more information, see Grant permissions to a RAM user.