RTC service-linked role

更新时间:
复制 MD 格式

This topic describes the scenarios for the Real-Time Communication (RTC) service-linked role (AliyunServiceRoleForRTC) and how to delete the role.

Background information

The RTC service-linked role (AliyunServiceRoleForRTC) is a RAM role that grants RTC the necessary permissions to access other Alibaba Cloud services for specific features. For more information, see Service-linked roles.

Details of the RTC service-linked role

Role name: AliyunServiceRoleForRTC

Access policy: AliyunServiceRolePolicyForRTC

Permissions:

{
      "Action": [
        "mns:PublishMessage",
        "mns:SendMessage",
        "live:DescribeLiveDomainDetail",
        "live:DescribeLiveUserDomains",
        "live:DescribeLiveDomainConfigs",
        "oss:GetObject",
        "oss:PutObject"
      ],
      "Resource": "*",
      "Effect": "Allow"
    }

Scenarios

The RTC service-linked role is used in the following scenarios:

  • RTC requires access to resources in Simple Message Queue (formerly MNS) to transfer data between components.

  • The bypass live streaming feature of RTC requires access to resources in ApsaraVideo Live.

  • The server-side recording feature of RTC requires access to resources in Object Storage Service (OSS).

Delete the service-linked role

You can delete the service-linked role (AliyunServiceRoleForRTC) using one of the following methods.

Note

You cannot delete the service-linked role (AliyunServiceRoleForRTC) if an RTC recording template exists.