首页 访问控制 开发参考 系统策略参考 AliyunServiceRolePolicyForGovernanceCloudNativeBlueprint

AliyunServiceRolePolicyForGovernanceCloudNativeBlueprint

更新时间: 2023-12-28 21:52:06

AliyunServiceRolePolicyForGovernanceCloudNativeBlueprint 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForGovernanceCloudNativeBlueprint 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2022-12-22 08:39:25

  • 更新时间:2023-07-19 02:24:48

  • 当前版本:v5

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ros:GetStack",
        "ros:CreateStack",
        "ros:ContinueCreateStack",
        "ros:UpdateStack"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ecs:ImportKeyPair",
        "ecs:DescribeKeyPairs",
        "ecs:ListTagResources",
        "vpc:CreateVpc",
        "vpc:DescribeVpcs",
        "vpc:DescribeVSwitchAttributes",
        "vpc:CreateVSwitch",
        "vpc:CreateNatGateway",
        "vpc:DescribeNatGateways",
        "vpc:AllocateEipAddress",
        "vpc:AssociateEipAddress",
        "vpc:DescribeEipAddresses",
        "vpc:CreateSnatEntry",
        "vpc:ListTagResources",
        "vpc:DescribeSnatTableEntries",
        "vpc:DescribeRouteTableList",
        "cs:CreateCluster",
        "cs:DescribeClusterResources",
        "cs:DescribeClusterDetail",
        "cs:DescribeClusterNodePools",
        "cs:DescribeClusterNodePoolDetail",
        "cs:DescribeClusterCerts",
        "cs:DescribeClusterUserKubeconfig",
        "cs:CreateClusterNodePool",
        "cs:AttachInstances",
        "cs:DescribeClusterNodePoolDetail",
        "cs:DescribeClusterNodes",
        "cs:DescribeUserPermission",
        "cs:GrantPermissions",
        "cs:GetClusters"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": [
            "nat.aliyuncs.com"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ram:ListRoles"
      ],
      "Resource": "acs:ram:*:*:role/*"
    },
    {
      "Effect": "Allow",
      "Action": "ram:GetRole",
      "Resource": "acs:ram:*:*:role/resourcedirectoryaccountaccessrole"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "blueprint-cloud-native.governance.aliyuncs.com"
        }
      }
    }
  ]
}

相关文档

上一篇: AliyunServiceRolePolicyForGaVpcEndpoint 下一篇: AliyunServiceRolePolicyForGovernanceNetworkBlueprint