The service-linked role for cloud product carbon footprint grants Energy Expert the permissions required to upload carbon footprint data. You can delete the role when it is no longer needed.
Background information
Energy Expert allows you to subscribe to cloud product carbon footprint statistics in CSV files. AliyunServiceRoleForCpcfpAccessingOSS is a Resource Access Management (RAM) service-linked role that allows Energy Expert to upload CSV files to the specified Object Storage Service (OSS) bucket.For more information about service-linked roles, seeService-linked roles。
Description of the AliyunServiceRoleForCpcfpAccessingOSS service-linked role
Role name: AliyunServiceRoleForCpcfpAccessingOSS
Policy: AliyunServiceRolePolicyForCpcfpAccessingOSS
Description: To use this role, you must first manually create an OSS bucket whose name starts with carbonfootprint to store uploaded files.
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"oss:PutObject",
"oss:GetBucketInfo"
],
"Resource": [
"acs:oss:*:*:carbonfootprint*/*",
"acs:oss:*:*:carbonfootprint*"
]
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "cpcfp-oss.carbon.aliyuncs.com"
}
}
}
]
}
Delete the service-linked role
If you no longer need the AliyunServiceRoleForCpcfpAccessingOSS service-linked role, delete it on the Roles page of the RAM console.