AliyunServiceRolePolicyForEiam 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForEiam 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2026-11-10 16:07:53
更新时间:2026-11-19 11:52:02
当前版本:v13
策略内容
{
"Version": "1",
"Statement": [
{
"Action": [
"apig:ListGateways",
"apig:ListPluginClasses",
"apig:InstallPlugin",
"apig:CreatePluginAttachment",
"apig:UpdatePluginAttachment",
"apig:UninstallPlugin",
"apig:DeleteService",
"apig:CreateService",
"apig:CreateAndAttachPolicy",
"apig:ListHttpApis",
"apig:ListHttpApiRoutes",
"apig:ListEnvironments",
"apig:ListMcpServers",
"apig:ListServices",
"apig:ListPlugins",
"apig:ListPluginAttachments"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"ecs:CreateNetworkInterfacePermission",
"ecs:DescribeNetworkInterfacePermissions",
"ecs:DeleteNetworkInterfacePermission",
"ecs:CreateNetworkInterface",
"ecs:DeleteNetworkInterface",
"ecs:DescribeNetworkInterfaces",
"ecs:ModifyNetworkInterfaceAttribute",
"ecs:DescribeNetworkInterfaceAttribute",
"ecs:AssignIpv6Addresses",
"ecs:CreateSecurityGroup",
"ecs:RevokeSecurityGroup",
"ecs:DeleteSecurityGroup",
"ecs:DescribeSecurityGroups",
"ecs:DescribeSecurityGroupAttribute",
"ecs:DescribeSecurityGroupReferences",
"ecs:ModifySecurityGroupAttribute",
"ecs:ModifySecurityGroupRule",
"ecs:DetachNetworkInterface",
"ecs:AttachNetworkInterface",
"ecs:ModifySecurityGroupPolicy",
"ecs:AuthorizeSecurityGroup",
"ecs:DescribeInstances",
"ecs:DescribeImages",
"ecs:DescribeZones",
"ecs:DescribeRegions",
"ecs:DescribeTags"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"yundun-aisc:ListAIAgentInfo",
"yundun-aisc:ListAIAssetInfo",
"yundun-aisc:GetAIAgentSecurityProductInfo",
"yundun-sas:DescribeCloudCenterInstances"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"vpc:DescribeVpcs",
"vpc:DescribeVSwitches",
"vpc:DescribeNatGateways",
"vpc:DescribeSnatTableEntries"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Effect": "Allow",
"Action": [
"kms:CreateSecret",
"kms:DeleteSecret",
"kms:DescribeSecret",
"kms:PutSecretValue",
"kms:UpdateSecret",
"kms:UpdateSecretVersionStage",
"kms:ListSecretVersionIds",
"kms:GetSecretValue"
],
"Resource": [
"acs:kms:*:*:secret/idaas-eiam!*"
]
},
{
"Effect": "Allow",
"Action": [
"kms:ListManagedQuotas",
"kms:GenerateDataKey",
"kms:Decrypt",
"kms:TagResource",
"kms:UntagResource"
],
"Resource": [
"*"
]
},
{
"Action": [
"dysms:QuerySmsSignList",
"dysms:QuerySmsTemplateList",
"dysms:SendSms",
"dysms:SendMessageToGlobe"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "eiam.aliyuncs.com"
}
}
},
{
"Action": [
"actiontrail:CreateServiceTrail",
"actiontrail:DeleteServiceTrail",
"actiontrail:GetServiceTrail",
"actiontrail:GetServiceTrailDeliveryStatus"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "secretsmanager-polardb.kms.aliyuncs.com"
}
}
}
]
}相关文档
该文章对您有帮助吗?