AliyunServiceRolePolicyForSearchPlat

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

策略详情

  • 类型:系统策略

  • 创建时间:2025-07-21 17:34:23

  • 更新时间:2025-10-23 11:03:07

  • 当前版本:v3

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "vpc:DescribeVpcs",
        "vpc:DescribeVpcAttribute",
        "vpc:DescribeVSwitches",
        "vpc:DescribeVSwitchAttributes"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "nas:DescribeFileSystems",
        "nas:DescribeMountTargets",
        "nas:CreateMountTarget",
        "nas:ModifyMountTarget",
        "nas:DescribeProtocolMountTarget"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": [
        "oss:ListObjects",
        "oss:GetObject",
        "oss:PutObject"
      ],
      "Effect": "Allow",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "oss:BucketTag/opensearch": [
            "opensearch"
          ]
        }
      }
    },
    {
      "Action": [
        "ecs:CreateSecurityGroup",
        "ecs:DeleteSecurityGroup",
        "ecs:AuthorizeSecurityGroup"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": [
        "mns:CreateQueue",
        "mns:DeleteQueue",
        "mns:PutEventNotifications",
        "mns:DeleteEventNotifications",
        "mns:ReceiveMessage",
        "mns:DeleteMessage"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": [
        "privatelink:CheckProductOpen",
        "privatelink:OpenPrivateLinkService",
        "privatelink:ListVpcEndpoints",
        "privatelink:CreateVpcEndpoint",
        "privatelink:DeleteVpcEndpoint",
        "privatelink:GetVpcEndpointAttribute",
        "privatelink:UpdateVpcEndpointAttribute",
        "privatelink:ListVpcEndpointSecurityGroups",
        "privatelink:AttachSecurityGroupToVpcEndpoint",
        "privatelink:DetachSecurityGroupFromVpcEndpoint",
        "privatelink:ListVpcEndpointZones",
        "privatelink:AddZoneToVpcEndpoint",
        "privatelink:RemoveZoneFromVpcEndpoint"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": [
        "rds:DescribeDBInstanceAttribute",
        "rds:DescribeDBInstances",
        "rds:DescribeDatabases",
        "rds:DescribeDBInstanceIPArrayList",
        "rds:DescribeAccounts",
        "rds:DescribeAbnormalDBInstances",
        "rds:ModifySecurityIps",
        "rds:DescribeResourceUsage",
        "rds:DescribeBinlogFiles",
        "rds:DescribeBackups",
        "rds:DescribeBackupPolicy",
        "rds:DescribeBackupTasks",
        "rds:ModifyBackupPolicy",
        "rds:CheckRegionSupportBackupEncryption"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "es-serverless:GetApp",
        "es-serverless:UpdateNetwork"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": [
        "dlf:ListCatalogs",
        "dlf:GetCatalog",
        "dlf:GetCatalogById",
        "dlf:GetCatalogByInstanceId",
        "dlf:ListDatabases",
        "dlf:GetDatabase",
        "dlf:ListTables",
        "dlf:GetTable",
        "dlf:GetConfig",
        "dlf:GetTableToken",
        "dlf:GetTableSnapshot",
        "dlf:ListTableNames",
        "dlf:GetCatalogAccessInfo",
        "dlf:GetDataToken",
        "dlf:GetDataTokenByName",
        "dlf:CheckPermissions",
        "dlf:ListPermissions"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": "dlf-auth:ActOnBehalfOfAnotherUser",
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "searchplat.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "privatelink.aliyuncs.com"
        }
      }
    }
  ]
}

相关文档