CreateSlrRole
Creates a service-linked role for Data Security Center (DSC) and authorizes DSC to access cloud resources.
Operation description
This operation allows DSC to access resources of cloud services such as Object Storage Service (OSS), ApsaraDB RDS, and MaxCompute. After you invoke this operation, the system triggers the automatic creation of a service-linked role named AliyunServiceRoleForSDDP to associate DSC with your resources, and attaches the AliyunServiceRolePolicyForSDDP access policy to the role.
QPS limit
The QPS limit per user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:CreateSlrRole |
create |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
[Deprecated] This parameter is deprecated. |
106.11.XX.XX |
| FeatureType |
integer |
No |
[Deprecated] This parameter is deprecated. |
2 |
| Lang |
string |
No |
The language of the request and response. Default value: zh_cn. Valid values:
|
zh_cn |
| ServiceName |
string |
No |
The service name of the Alibaba Cloud service for which you want to create a service-linked role to associate with DSC. |
sddp.aliyuncs.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HasPermission |
boolean |
Indicates whether the service-linked role was created successfully. Valid values:
|
true |
| RequestId |
string |
The ID of the request. This ID is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
208B016D-4CB9-4A85-96A5-0B8ED1EBF271 |
Examples
Success response
JSON format
{
"HasPermission": true,
"RequestId": "208B016D-4CB9-4A85-96A5-0B8ED1EBF271"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.