AliyunPaiCustomerClusterManagementRolePolicy 是专用于服务角色的授权策略,通常会在创建对应的服务角色时同步完成授权,以允许服务角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2025-06-12 10:35:47
更新时间:2025-06-12 10:35:47
当前版本:v1
策略内容
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"privatelink:OpenPrivateLinkService",
"privatelink:CheckProductOpen",
"privatelink:ListVpcEndpointServices",
"privatelink:CreateVpcEndpoint",
"privatelink:ListVpcEndpoints",
"privatelink:UpdateVpcEndpointAttribute",
"privatelink:GetVpcEndpointAttribute",
"privatelink:ListVpcEndpointSecurityGroups",
"privatelink:AttachSecurityGroupToVpcEndpoint",
"privatelink:DetachSecurityGroupFromVpcEndpoint",
"privatelink:AddZoneToVpcEndpoint",
"privatelink:RemoveZoneFromVpcEndpoint",
"privatelink:ListVpcEndpointZones",
"privatelink:DeleteVpcEndpoint",
"privatelink:AddUserToVpcEndpointService"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"vpc:DescribeVpcs",
"vpc:DescribeVpcAttribute",
"vpc:DescribeVSwitches",
"vpc:DescribeVSwitchAttributes"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"pvtz:AddZone",
"pvtz:DescribeZoneVpcTree",
"pvtz:AddZoneRecord",
"pvtz:UpdateZoneRecord",
"pvtz:DescribeZoneRecords",
"pvtz:UpdateZoneRemark",
"pvtz:DeleteZone",
"pvtz:BindZoneVpc"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ecs:DescribeSecurityGroups",
"ecs:CreateSecurityGroup",
"ecs:DeleteSecurityGroup",
"ecs:AuthorizeSecurityGroup",
"ecs:AuthorizeSecurityGroupEgress",
"ecs:RevokeSecurityGroup",
"ecs:RevokeSecurityGroupEgress",
"ecs:CreateNetworkInterface",
"ecs:DeleteNetworkInterface",
"ecs:DescribeNetworkInterfaces",
"ecs:CreateNetworkInterfacePermission",
"ecs:DescribeNetworkInterfacePermissions",
"ecs:DeleteNetworkInterfacePermission",
"ecs:AttachNetworkInterface",
"ecs:DetachNetworkInterface",
"ecs:DescribeInstanceAttribute",
"ecs:AssignPrivateIpAddresses",
"ecs:UnassignPrivateIpAddresses",
"ecs:DescribeInstances",
"ecs:AssignIpv6Addresses",
"ecs:UnassignIpv6Addresses",
"ecs:ModifyNetworkInterfaceAttribute",
"ecs:DescribeNetworkInterfaceAttribute"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"cs:DescribeClusterDetail",
"cs:DescribeClusterUserKubeconfig"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"log:GetIndex",
"log:GetConfig",
"log:GetLogStore",
"log:GetProject",
"log:GetLogStoreLogs",
"log:GetLogStoreHistogram",
"log:GetMachineGroup",
"log:CreateConfig",
"log:CreateIndex",
"log:CreateLogStore",
"log:CreateMachineGroup",
"log:CreateProject",
"log:DeleteConfig",
"log:DeleteIndex",
"log:DeleteLogStore",
"log:DeleteMachineGroup",
"log:DeleteProject",
"log:ApplyConfigToGroup"
],
"Resource": [
"acs:log:*:*:project/*/logstore/eas-*",
"acs:log:*:*:project/eas-*",
"acs:log:*:*:project/*/logstore/k8s-*",
"acs:log:*:*:project/k8s-*"
]
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "privatelink.aliyuncs.com"
}
}
}
]
}
相关文档
该文章对您有帮助吗?