All Products
Search
Document Center

Simple Log Service:Authorize access to cloud resources

Last Updated:Mar 18, 2024

Before you can use a Resource Access Management (RAM) user to access cloud resources, you must grant the required permissions to the RAM user. This topic describes how to authorize access to cloud resources.

Procedure

  1. Attach the following policy to the RAM user. For more information, see Authorize a RAM user to ship data to OSS.

    For information about the AliyunLogDefaultRole role, see Manage user identities.

    {
      "Version": "1",
      "Statement": [
        {
          "Action": [
            "ram:CreateRole",
            "ram:GetRole"
          ],
          "Resource": "acs:ram:*:*:role/AliyunLogDefaultRole",   
          "Effect": "Allow"
        }
      ]
    }
  2. Click Cloud Resource Access Authorization to complete the authorization.