全部產品
Search
文件中心

Database Autonomy Service:DAS服務關聯角色

更新時間:Jul 06, 2024

本文為您介紹DAS服務關聯角色(AliyunServiceRoleForDAS)的應用情境以及如何刪除服務關聯角色。

背景資訊

DAS服務關聯角色(AliyunServiceRoleForDAS)是在某些情況下,為了很好地支援DAS自身的功能,需要擷取使用者其他雲端服務的存取權限而提供的RAM角色。更多關於服務關聯角色的資訊請參見服務關聯角色

應用情境

DAS接入使用者在阿里雲購買的雲資料庫,比如RDS、MongoDB、Redis、PolarDB等或者在阿里雲ECS上自建的資料庫時,通過服務關聯角色功能擷取存取權限。

AliyunServiceRoleForDAS介紹

角色名稱:AliyunServiceRoleForDAS

角色權限原則:AliyunServiceRolePolicyForDAS

許可權說明:
{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "rds:DescribeRegions",
                "rds:DescribeDBInstances",
                "rds:DescribeDatabases",
                "rds:DescribeDBInstanceNetInfo",
                "rds:DescribeDBInstanceAttribute",
                "rds:DescribeAccounts",
                "rds:DescribeDBInstanceIPArrayList",
                "rds:DescribeDBInstancePerformance",
                "rds:ModifySecurityIps",
                "rds:CreateAccount",
                "rds:GrantAccountPrivilege",
                "rds:RevokeAccountPrivilege",
                "rds:CreateDatabase",
                "rds:ModifyDBInstanceDescription",
                "rds:DescribeSlowLogRecords",
                "rds:DescribeSlowLogs",
                "rds:DescribeResourceUsage",
                "rds:DescribeSQLCollectorPolicy",
                "rds:ModifyDBInstanceSpec",
                "rds:DescribeTasks",
                "rds:DescribeTaskIdByRequestID",
                "rds:ModifyDBNodeClass",
                "rds:DescribeParameters",
                "rds:ModifyParameter",
                "rds:DescribeBackups",
                "rds:CloneDBInstance",
                "rds:DescribeLocalAvailableRecoveryTime"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "vpc:DescribeVpcs",
                "vpc:DescribePhysicalConnections",
                "vpc:DescribeVpnGateways",
                "vpc:DescribeRouterInterfaces",
                "vpc:DescribeVirtualBorderRouters",
                "vpc:DescribeVSwitches",
                "vpc:DescribeVSwitchAttributes",
                "vpc:ModifyVSwitchAttribute"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "ecs:DescribeInstances",
                "ecs:DescribeInstanceAttribute",
                "ecs:DescribeInstanceStatus",
                "ecs:DescribeInstanceMonitorData",
                "ecs:DescribeSecurityGroups",
                "ecs:JoinSecurityGroup",
                "ecs:DescribeSecurityGroupAttribute",
                "ecs:AuthorizeSecurityGroup",
                "ecs:RevokeSecurityGroup",
                "ecs:DescribeDisks",
                "ecs:RunInstances",
                "ecs:CreateSecurityGroup",
                "ecs:DescribeAvailableResource",
                "ecs:DescribeImages"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "kvstore:DescribeCacheAnalysisReport",
                "kvstore:DescribeCacheAnalysisReportList",
                "kvstore:CreateCacheAnalysisTask",
                "kvstore:DescribeAccounts",
                "kvstore:CreateAccount",
                "kvstore:DescribeRegions",
                "kvstore:DescribeInstances",
                "kvstore:DescribeInstanceAttribute",
                "kvstore:DescribeHistoryMonitorValues",
                "kvstore:DescribeMonitorItems",
                "kvstore:VerifyPassword",
                "kvstore:DescribeSecurityIps",
                "kvstore:ModifySecurityIps",
                "kvstore:ModifyInstanceAttribute",
                "kvstore:ModifyInstanceSpec",
                "kvstore:AddShardingNode",
                "kvstore:DeleteShardingNode",
                "kvstore:DescribeRoleZoneInfo",
                "kvstore:EnableAdditionalBandwidth",
                "kvstore:RenewAdditionalBandwidth",
                "kvstore:DescribeIntranetAttribute",
                "kvstore:DescribeClusterMemberInfo",
                "kvstore:DescribeAuditLogConfig",
                "kvstore:DescribeAuditRecords",
                "kvstore:DescribeRunningLogRecords",
                "kvstore:DescribeSlowLogRecords"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "dts:DescribeMigrationJobs",
                "dts:DescribeMigrationJobDetail",
                "dts:DescribeMigrationJobStatus",
                "dts:CreateMigrationJob",
                "dts:ConfigureMigrationJob",
                "dts:SuspendMigrationJob",
                "dts:StartMigrationJob",
                "dts:StopMigrationJob",
                "dts:DeleteMigrationJob",
                "dts:DescribeSynchronizationJobs",
                "dts:DescribeSynchronizationJobStatus",
                "dts:CreateSynchronizationJob",
                "dts:ConfigureSynchronizationJob",
                "dts:SuspendSynchronizationJob",
                "dts:StartSynchronizationJob",
                "dts:DeleteSynchronizationJob",
                "dts:DescribeObjectModifyStatus",
                "dts:ModifySynchronizationObject",
                "dts:ResetSynchronizationJob"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "pvtz:DescribeUserServiceStatus",
                "pvtz:DescribeZones",
                "pvtz:DescribeZoneRecords",
                "pvtz:UpdateZoneRecord"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "dds:DescribeDBInstances",
                "dds:DescribeReplicaSetRole",
                "dds:DescribeDBInstanceAttribute",
                "dds:DescribeRegions",
                "dds:DescribeDBInstancePerformance",
                "dds:DescribeSecurityIps",
                "dds:ModifyDBInstanceDescription",
                "dds:ModifySecurityIps",
                "dds:DescribeShardingNetworkAddress",
                "dds:DescribeSlowLogRecords",
                "dds:DescribeRunningLogRecords",
                "dds:DescribeErrorLogList"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "cms:QueryContactGroup",
                "cms:QueryContact"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": [
                "polardb:DescribeDBClusters",
                "polardb:DescribeRegions",
                "polardb:DescribeDBClusterAttribute",
                "polardb:ModifyDBNodeClass",
                "polardb:DescribeDBClusterAvailableResources",
                "polardb:CreateDBNodes",
                "polardb:DeleteDBNodes",
                "polardb:DescribeBackups",
                "polardb:CreateDBCluster",
                "polardb:DescribeDBClusterParameters"
            ],
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": "ram:DeleteServiceLinkedRole",
            "Resource": "*",
            "Effect": "Allow",
            "Condition": {
                "StringEquals": {
                    "ram:ServiceName": "hdm.aliyuncs.com"
                }
            }
        }
    ]
}

刪除服務關聯角色

如果您需要刪除服務關聯角色(AliyunServiceRoleForDAS),請參見刪除服務關聯角色