AliyunPAIDLCDefaultRolePolicy

AliyunPAIDLCDefaultRolePolicy 是专用于服务角色的授权策略,通常会在创建对应的服务角色时同步完成授权,以允许服务角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2025-06-18 14:45:38

  • 更新时间:2025-06-18 14:45:38

  • 当前版本:v1

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "cs:GetClusterById",
        "cs:GetClusters",
        "cs:GetUserConfig",
        "cs:DescribeClusterNodes",
        "cs:DescribeClusterResources",
        "cs:DescribeClusterInnerServiceKubeconfig",
        "cs:RevokeClusterInnerServiceKubeconfig"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "vpc:DescribeNatGateways",
        "vpc:DescribeVpnGateways",
        "vpc:DescribeEipAddresses",
        "vpc:DescribeRouteTableList",
        "vpc:DescribeIpv6Gateways",
        "vpc:DescribeHaVips",
        "vpc:DescribeVRouters",
        "vpc:DescribeRouterInterfaceAttribute",
        "vpc:DescribeSnatTableEntries",
        "vpc:DescribeNetworkAcls",
        "vpc:DescribeRegions",
        "vpc:DescribeVpcs",
        "vpc:DescribeVSwitches",
        "vpc:DescribeVpcAttribute",
        "vpc:DescribeVSwitchAttributes",
        "vpc:AssociatePhysicalConnectionToVirtualBorderRouter",
        "vpc:UnassociatePhysicalConnectionFromVirtualBorderRouter",
        "vpc:DescribeAccessPoints",
        "vpc:CreatePhysicalConnectionNew",
        "vpc:DescribePhysicalConnections",
        "vpc:EnablePhysicalConnection",
        "vpc:CreateVirtualBorderRouter",
        "vpc:CreateRouterInterface",
        "vpc:ModifyRouterInterfaceAttribute",
        "vpc:ModifyRouterInterfaceSpec",
        "vpc:DescribeRouterInterfaces",
        "vpc:DescribeRouteTables",
        "vpc:ConnectRouterInterface",
        "vpc:CreateRouteEntry",
        "vpc:DeleteRouteEntry",
        "vpc:DeactivateRouterInterface",
        "vpc:DeleteRouterInterface",
        "vpc:DeleteVirtualBorderRouter",
        "vpc:TerminatePhysicalConnection",
        "vpc:DeletePhysicalConnection",
        "vpc:CreateVSwitch",
        "vpc:DeleteVSwitch",
        "vpc:ModifyVSwitchAttribute",
        "vpc:DescribeVirtualBorderRouters"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "ecs:DescribeSecurityGroupAttribute",
        "ecs:DescribeSecurityGroups",
        "ecs:CreateNetworkInterface",
        "ecs:DeleteNetworkInterface",
        "ecs:DescribeNetworkInterfaces",
        "ecs:CreateNetworkInterfacePermission",
        "ecs:DescribeNetworkInterfacePermissions",
        "ecs:DeleteNetworkInterfacePermission",
        "ecs:RunCommand",
        "ecs:DescribeInvocationResults",
        "ecs:TagResources"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "nas:DescribeFileSystems",
        "nas:CreateMountTarget",
        "nas:DescribeMountTargets",
        "nas:ModifyMountTarget",
        "nas:DescribeProtocolMountTarget",
        "nas:DescribeMountedClients"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "cr:ListNamespace",
        "cr:ListRepository",
        "cr:GetAuthorizationToken",
        "cr:ListInstanceEndpoint",
        "cr:PullRepository",
        "cr:PushRepository",
        "cr:GetInstance",
        "cr:GetInstanceVpcEndpoint",
        "cr:ListInstance",
        "cr:ListInstanceDomain",
        "cr:GetRepository",
        "cr:GetRepositoryLayers",
        "cr:ListRepositoryTag"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "datasetacc:DescribeInstance",
        "datasetacc:DescribeSlot",
        "datasetacc:DescribeEndpoint",
        "datasetacc:ListSlots"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Effect": "Allow",
      "Action": [
        "odps:ActOnBehalfOfAnotherUser",
        "odps:ActOnBehalfOfAnUser"
      ],
      "Resource": "acs:odps:*:*:users/*"
    },
    {
      "Action": [
        "oss:GetObject",
        "oss:PutObject",
        "oss:DeleteObject",
        "oss:ListParts",
        "oss:AbortMultipartUpload",
        "oss:ListObjects",
        "oss:ListBuckets",
        "oss:PutBucketCors",
        "oss:GetBucketCors",
        "oss:DeleteBucketCors",
        "oss:GetBucketInfo",
        "oss:ListBuckets"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Effect": "Allow",
      "Action": [
        "acc:DisassociateResourceQuota",
        "acc:AssociateResourceQuota",
        "acc:DescribeResourceQuotas",
        "acc:DescribeResourceQuotaDetail"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:ListProject",
        "log:GetProject",
        "log:GetMachineGroup",
        "log:ListLogStore",
        "log:GetLogStore",
        "log:CreateLogStore",
        "log:ListConfig",
        "log:GetConfig",
        "log:CreateConfig",
        "log:ApplyConfigToGroup",
        "log:CreateIndex",
        "log:GetProjectPolicy",
        "log:PutProjectPolicy"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "paiworkspace:ListConfigs",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "pai:AssumeUser",
      "Resource": "acs:pai:*:*:users/*"
    }
  ]
}

相关文档