All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForECK

Last Updated:Jan 30, 2026

AliyunServiceRolePolicyForECK is the authorization policy dedicated to a service-linked role. The policy is automatically attached to a service role when the service role is created. Then, the service-linked role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service-linked role.

Policy details

  • Type: service system policy

  • Creation time: 16:34:11 on October 28, 2025

  • Update time: 01:58:35 on January 30, 2026

  • Current version: v3

Policy content

{
  "Statement": [
    {
      "Action": [
        "ens:CreateVSwitch",
        "ens:DeleteVSwitch",
        "ens:AssignPrivateIpAddresses",
        "ens:UnassignPrivateIpAddresses",
        "ens:CreateNatGateway",
        "ens:CreateSnatEntry",
        "ens:DeleteNatGateway",
        "ens:CreateEipInstance",
        "ens:AssociateEnsEipAddress",
        "ens:UnAssociateEnsEipAddress",
        "ens:DescribeEnsEipAddresses",
        "ens:DeleteEip",
        "ens:CreateLoadBalancer",
        "ens:DeleteLoadBalancer",
        "ens:CreateLoadBalancerTCPListener",
        "ens:CreateLoadBalancerUDPListener",
        "ens:StartLoadBalancerListener",
        "ens:StopLoadBalancerListener",
        "ens:DeleteLoadBalancerListener",
        "ens:DescribeLoadBalancers",
        "ens:DescribeLoadBalancerAttribute",
        "ens:CreateLoadBalancerHTTPSListener",
        "ens:CreateLoadBalancerHTTPListener",
        "ens:CreateLoadBalancerForwardEntry",
        "ens:DescribeLoadBalancerForwardEntries",
        "ens:DeleteLoadBalancerForwardEntry",
        "ens:DescribeLoadBalancerHTTPSListenerAttribute",
        "ens:SetLoadBalancerHTTPSListenerAttribute",
        "ens:DescribeLoadBalancerTCPListenerAttribute",
        "ens:AddBackendServers",
        "ens:RemoveBackendServers",
        "ens:DescribeDisks",
        "ens:CreateDisk",
        "ens:AttachDisk",
        "ens:DetachDisk",
        "ens:ResetDisk",
        "ens:ResizeDisk",
        "ens:CreateMountTarget",
        "ens:DeleteMountTarget",
        "ens:DescribeMountTargets",
        "ens:CreateFileSystem",
        "ens:DeleteFileSystem",
        "ens:ModifyFileSystem",
        "ens:DescribeFileSystems",
        "ens:CreateSnapshot",
        "ens:CopySnapshot",
        "ens:DeleteSnapshot",
        "ens:DescribeSnapshots",
        "ens:DescribeNASAvailableResourceInfo",
        "ens:DescribeUserOpenInfo",
        "ens:DescribeInstances",
        "ens:DescribeVSwitches",
        "ens:DescribeNetworkInterfaces",
        "ens:DeleteDisk"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "eck.ens.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "diskencrypt.ens.aliyuncs.com"
        }
      }
    }
  ],
  "Version": "1"
}

References