This topic describes how to authorize the Object Storage Service (OSS) role assumed by AutoLearning. AutoLearning assumes this role to retrieve source data from OSS.

Step 1: Create a RAM role

  1. Log on to the RAM console.
  2. In the left-side navigation pane, click RAM Roles.
  3. On the RAM Roles page, click Create RAM Role.
  4. On the Create RAM Role page, select Alibaba Cloud Service in the Trusted entity type section, and click Next.
  5. In the RAM Role Name field, enter AutoLearningRole.
  6. In the Select Trusted Service field, select Media Transcoding Service.
  7. Click OK.

Step 2: Modify the trust policy of the RAM role

  1. On the RAM Roles page, click AutoLearningRole below RAM Role Name.
  2. On the Basic Information page, click the Trust Policy Management tab.
  3. Click Edit Trust Policy.
  4. On the Edit Trust Policy page, edit the trust policy based on the following information, and click OK.
    {
    "Statement": [
     {
       "Action": "sts:AssumeRole",
       "Effect": "Allow",
       "Principal": {
         "Service": [
           "1276057991250096@odps.aliyuncs.com"
         ]
       }
     }
    ],
    "Version": "1"
    }

Step 3: Authorize the RAM role

  1. On the RAM Roles page, click AutoLearningRole below RAM Role Name.
  2. On the Basic Information page, click the Permissions tab, then click Add Permissions.
  3. On the Add Permissions page that appears, select the AliyunOSSFullAccess permission policy from the list below Select a policy.
  4. Click OK.