业务实例授权

通过对业务实例授权,该账号只有该业务实例的操作权限,其他实例无权限操作

文档简介

满足业务中对于实例更严格的权限划分配置。

操作步骤

重要

前提是操作人员要有RAM访问控制的管理权限

  • 第一步:登录RAM访问控制控制台,进入 【权限策略】菜单,创建权限策略

    image

  • 第二步:选择脚本编辑

    image

  • 第三步:复制以下脚本,更改自己账号的阿里云uid以及要授权的业务id

    说明

    如果一个账号要授权多个业务实例,将

    {

    "Effect": "Allow",

    "Action": "outboundbot:*",

    "Resource": "acs:outboundbot:cn-shanghai:1136759417152033:instance/35d744ec-47e7-4738-bb61-eac0a6941415"

    }

    这串代码再复制一遍加到脚本下面,改掉业务ID

    image

    image

    {
        "Version": "1",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": [
                    "outboundbot:GetServiceStatus",
                    "outboundbot:DescribeCommodityInfo",
                    "outboundbot:CheckUnconfirmedProviderOrders",
                    "outboundbot:ListLatestNotices",
                    "outboundbot:ListResourceTags",
                    "outboundbot:GetConcurrentConversationQuota",
                    "outboundbot:ListTenantHaveNumberSipTrunk",
                    "outboundbot:ListAllTenantBindNumberBindingByPage",
                    "outboundbot:ListAllTenantBindNumberByPage",
                    "outboundbot:GetRealtimeConcurrencyReport",
                    "outboundbot:ListChatbotInstances",
                    "outboundbot:GetRealtimeConcurrencyReport",
                    "outboundbot:GetConcurrencyTrendingReport",
                    "outboundbot:DescribePurchaseInfo",
                    "outboundbot:DescribePresetStatus",
                    "outboundbot:DescribeCallOverview",
                    "outboundbot:DescribePresetInstance",
                    "outboundbot:ListInstanceNames",
                    "outboundbot:ListInstances",
                    "outboundbot:ListJobGroupsAsync"
                ],
                "Resource": "*"
            },
            {
                "Effect": "Allow",
                "Action": "outboundbot:*",
                "Resource": "acs:outboundbot:cn-shanghai:1136759417152033:instance/35d744ec-47e7-4738-bb61-eac0a6941415"
            }
        ]
    }

  • 第四步:给账号授权以上建立的权限

    image

    image