All Products
Search
Document Center

Resource Access Management:AliyunRDSInstanceEncryptionRolePolicy

Last Updated:Dec 28, 2023

AliyunRDSInstanceEncryptionRolePolicy is the authorization policy dedicated to a service role. In most cases, when a service role is created, the policy is attached to the service role. Then, the service 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 role.

Policy details

  • Type: service system policy

  • Creation time: 15:21:01 on March 06, 2019

  • Update time: 15:21:01 on March 06, 2019

  • Current version: v1

Policy content

{
    "Version": "1", 
    "Statement": [
        {
            "Action": [
                "kms:List*", 
                "kms:DescribeKey", 
                "kms:TagResource", 
                "kms:UntagResource"
            ], 
            "Resource": [
                "acs:kms:*:*:*"
            ], 
            "Effect": "Allow"
        }, 
        {
            "Action": [
                "kms:Encrypt", 
                "kms:Decrypt", 
                "kms:GenerateDataKey"
            ], 
            "Resource": [
                "acs:kms:*:*:*"
            ], 
            "Effect": "Allow", 
            "Condition": {
                "StringEqualsIgnoreCase": {
                    "kms:tag/acs:rds:instance-encryption": "true"
                }
            }
        }
    ]
}

References