All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForRdsBackupEncryption

Last Updated:Dec 28, 2023

AliyunServiceRolePolicyForRdsBackupEncryption 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:41:29 on July 07, 2020

  • Update time: 15:41:29 on July 07, 2020

  • Current version: v1

Policy content

{
  "Statement": [
    {
      "Action": [
        "kms:ListKeys",
        "kms:ListAliasesByKeyId",
        "kms:ListAliases",
        "kms:DescribeKey"
      ],
      "Effect": "Allow",
      "Resource": [
        "acs:kms:*:*:*"
      ]
    },
    {
      "Action": [
        "kms:Encrypt",
        "kms:Decrypt",
        "kms:GenerateDataKey"
      ],
      "Condition": {
        "StringEqualsIgnoreCase": {
          "kms:tag/acs:rds:backup-encryption": "true"
        }
      },
      "Effect": "Allow",
      "Resource": [
        "acs:kms:*:*:*"
      ]
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "backupencryption.rds.aliyuncs.com"
        }
      }
    }
  ],
  "Version": "1"
}

References