Expenses and Costs service-linked role

Updated at:
Copy as MD

This topic describes the use cases for the Expenses and Costs service-linked role (AliyunServiceRoleForBssOpenApi) and explains how to delete the role.

Background information

The Expenses and Costs service-linked role (AliyunServiceRoleForBssOpenApi) is a RAM role. Expenses and Costs uses this role to access other Alibaba Cloud services and enable specific features. For more information about service-linked roles, see Service-linked roles.

Scenarios

  • The data analytics feature of Expenses and Costs uses a service-linked role to access MaxCompute service resources.

About AliyunServiceRoleForBssOpenApi

Role name: AliyunServiceRoleForBssOpenApi

Access policy: AliyunServiceRolePolicyForBssOpenApi

Permissions:

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "odps:GetTrustedProjects",
      "Resource": "*"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "bssopenapi.aliyuncs.com"
        }
      }
    }
  ]
}

Delete the service-linked role

For instructions on how to delete the service-linked role, see Service-linked roles.