All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForOSSSystemTables

Last Updated:Aug 27, 2026

AliyunServiceRolePolicyForOSSSystemTables 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: 14:09:57 on August 27, 2026

  • Update time: 14:09:57 on August 27, 2026

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "oss:CreateTableBucket",
        "oss:GetTableBucket",
        "oss:PutTableBucketPolicy",
        "oss:PutTableBucketEncryption"
      ],
      "Resource": "acs:osstables:*:*:bucket/oss-managed-table-bucket"
    },
    {
      "Effect": "Allow",
      "Action": [
        "oss:CreateNamespace",
        "oss:GetNamespace"
      ],
      "Resource": "acs:osstables:*:*:bucket/oss-managed-table-bucket",
      "Condition": {
        "StringLike": {
          "osstables:namespace": "b_*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "oss:CreateTable",
        "oss:PutTableData",
        "oss:GetTable",
        "oss:PutTablePolicy",
        "oss:PutTableEncryption"
      ],
      "Resource": "acs:osstables:*:*:bucket/oss-managed-table-bucket/table/*",
      "Condition": {
        "StringLike": {
          "osstables:namespace": "b_*"
        },
        "StringEquals": {
          "osstables:tableName": [
            "journal",
            "inventory"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt",
        "kms:GenerateDataKey",
        "kms:DescribeKey"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "systemtables.oss.aliyuncs.com"
        }
      }
    }
  ]
}

References