All Products
Search
Document Center

Resource Access Management:AliyunNasEncryptDefaultRolePolicy

Last Updated:Mar 14, 2024

AliyunNasEncryptDefaultRolePolicy 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: 13:46:29 on March 14, 2024

  • Update time: 13:46:29 on March 14, 2024

  • Current version: v1

Policy content

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

References