All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForKvstore

Last Updated:Oct 12, 2024

AliyunServiceRolePolicyForKvstore 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: 18:09:43 on July 27, 2020

  • Update time: 18:09:43 on July 27, 2020

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Resource": "acs:log:*:*:project/nosql-*",
      "Action": [
        "log:GetLogstoreLogs",
        "log:ListLogStores",
        "log:GetLogStore",
        "log:GetIndex",
        "log:GetLogstoreHistogram",
        "log:GetConfig",
        "log:ListConfig",
        "log:GetDashboard",
        "log:ListDashboard",
        "log:CreateLogStore",
        "log:CreateIndex",
        "log:UpdateLogStore",
        "log:UpdateIndex",
        "log:CreateDashboard",
        "log:UpdateDashboard",
        "log:CreateSavedSearch",
        "log:UpdateSavedSearch",
        "log:CreateProject"
      ]
    },
    {
      "Action": [
        "cs:DescribeClusterInnerServiceKubeconfig",
        "cs:RevokeClusterInnerServiceKubeconfig"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "hdm:DescribeSqlLogConfig",
        "hdm:ModifySqlLogConfig"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "r-kvstore.aliyuncs.com"
        }
      }
    }
  ]
}

References