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.
Manually delete the role in the console. For more information, see Delete a RAM role.
Delete the service-linked role by following the instructions in Delete a service-linked role.
You cannot delete the service-linked role (AliyunServiceRoleForRTC) if an RTC recording template exists.