EAS通过服务关联角色AliyunServiceRoleForPaiEas访问其他云服务。首次使用EAS时系统会自动创建该角色。如需删除该角色,请参见下文说明。
背景信息
EAS服务关联角色AliyunServiceRoleForPaiEas是EAS为完成自身功能而获取其他云服务访问权限的RAM角色。更多关于服务关联角色的信息请参见服务关联角色。
当EAS需要访问OSS、SLS、ECS或VPC的资源时,通过AliyunServiceRoleForPaiEas获取访问权限。
AliyunServiceRoleForPaiEas权限说明
AliyunServiceRoleForPaiEas拥有以下云服务的访问权限:
-
对象存储OSS的访问权限
{ "Action": [ "oss:GetObject", "oss:PutObject", "oss:DeleteObject", "oss:ListParts", "oss:AbortMultipartUpload", "oss:ListObjects", "oss:ListBuckets", "oss:PutBucketCors", "oss:GetBucketCors", "oss:DeleteBucketCors" ], "Resource": "*", "Effect": "Allow" } -
日志服务SLS的访问权限
{ "Action": [ "log:CreateConfig", "log:GetConfig", "log:UpdateConfig", "log:DeleteConfig", "log:CreateMachineGroup", "log:GetMachineGroup", "log:DeleteMachineGroup", "log:ApplyConfigToGroup", "log:ListProject", "log:ListLogStores" ], "Resource": "*", "Effect": "Allow" } -
云服务器ECS的访问权限
{ "Action": [ "ecs:CreateNetworkInterface", "ecs:DeleteNetworkInterface", "ecs:DescribeNetworkInterfaces", "ecs:CreateNetworkInterfacePermission", "ecs:DescribeNetworkInterfacePermissions", "ecs:DeleteNetworkInterfacePermission", "ecs:DescribeSecurityGroups" ], "Resource": "*", "Effect": "Allow" } -
专有网络VPC的访问权限
{ "Action": [ "vpc:DescribeVSwitchAttributes", "vpc:DescribeVpcs", "vpc:DescribeVSwitches", "vpc:DescribeVpcAttribute" ], "Resource": "*", "Effect": "Allow" }
删除AliyunServiceRoleForPaiEas
如果出于安全考虑需要删除AliyunServiceRoleForPaiEas,请注意:删除后您可能无法更新服务版本、创建VPC高速通道或投递服务日志到SLS。
该文章对您有帮助吗?