Call CreateSlrRole to create a service-linked role for Data Security Center (DSC). This role authorizes DSC to access your cloud resources.
Operation description
This operation allows DSC to access the resources of Alibaba Cloud services such as OSS, RDS, and MaxCompute. After you call this operation, the system automatically creates a service-linked role. The role is named AliyunServiceRoleForSDDP, and its access policy is AliyunServiceRolePolicyForSDDP.
QPS limits
The queries per second (QPS) limit for this operation is 10 for each user. If you exceed the limit, API calls are throttled, which can 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 |
This parameter is deprecated. |
106.11.XX.XX |
| FeatureType |
integer |
No |
This parameter is deprecated. |
2 |
| Lang |
string |
No |
The language of the request and response messages. Default value: zh_cn. Valid values:
|
zh_cn |
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 is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate 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.