Grant permissions to a RAM user
If a RAM user without the required permissions tries to use this product, authentication fails. You must use your Alibaba Cloud account to grant the necessary permissions to the RAM user.
Note: Resource Access Management (RAM) is an identity management and access control service from Alibaba Cloud. RAM lets you create and manage user accounts for entities, such as employees, systems, or applications. It also lets you control the permissions that these accounts have to access your resources.
Procedure
Use your Alibaba Cloud account to go to the Resource Access Management console. Click Add Permissions. For Principal, select the RAM user that you want to authorize. In the System Policy text box, enter `nlp`. Select `AliyunNLPFullAccess` (management permissions) or `AliyunNLPReadOnlyAccess` (read-only access permissions), and then click OK.
In the Permission Management section of the RAM console, create a custom access policy. (The access policy for the NLP AutoML Platform is required for E-commerce and general industry capabilities. You must add the policy content for the NLP AutoML Platform.)
Enter a policy script to configure the custom policy.
The authorization policy is as follows:
{ "Statement": [ { "Effect": "Allow", "Action": "nlp-automl:*", "Resource": "*" } ], "Version": "1" }On the Users tab of the People Management page, add permissions to the RAM user that you want to authorize.