AliyunServiceRolePolicyForAlbAccessKMS is the authorization policy dedicated to a service-linked role. The policy is automatically attached to a service role when the service role is created. Then, the service-linked role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service-linked role.
Policy details
Type: service system policy
Creation time: 15:34:16 on November 26, 2025
Update time: 15:34:16 on November 26, 2025
Current version: v1
Policy content
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"kms:CreateSecret",
"kms:DeleteSecret",
"kms:DescribeSecret",
"kms:PutSecretValue",
"kms:UpdateSecret",
"kms:UpdateSecretVersionStage",
"kms:ListSecretVersionIds",
"kms:GetSecretValue",
"kms:CreateSecret"
],
"Resource": [
"acs:kms:*:*:secret/alb!*"
]
},
{
"Effect": "Allow",
"Action": [
"kms:ListManagedQuotas",
"kms:ListSecrets",
"kms:GenerateDataKey",
"kms:Decrypt",
"kms:TagResource",
"kms:UntagResource"
],
"Resource": [
"*"
]
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "kms.alb.aliyuncs.com"
}
}
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "secretsmanager-polardb.kms.aliyuncs.com"
}
}
}
]
}