Grant a RAM user permissions to access Network Quality Analyzer

Updated at:

This topic describes how to grant a Resource Access Management (RAM) user permissions to access Network Quality Analyzer.

Prerequisites

A RAM user is created. For more information, see Create a RAM user.

Procedure

You can create a custom policy to implement fine-grained permission management for Network Quality Analyzer.

  1. Log on to the RAM console.

  2. Create a custom policy. For more information, see Create a custom permission policy in script edit mode.

    Replace the {AliyunUid} placeholder with your Alibaba Cloud account ID. You can find your Alibaba Cloud account ID in the Account Center.

    • Grant management permissions to the RAM user.

      {
          "Statement": [
              {
                  "Action": "ipa:*",
                  "Resource": "acs:ipa:*:{AliyunUid}:*",
                  "Effect": "Allow"
              }
          ],
          "Version": "1"
      }
    • Grant read-only permissions to the RAM user.

      {
          "Statement": [
            {
              "Action": [
                "ipa:UpdateStatus",
                "ipa:UpdateName",
                "ipa:AddDetectRule",
                "ipa:deleteDetectRule",
                "ipa:AddApp",
                "ipa:DeleteApp"
              ],
              "Resource": "acs:ipa:*:{AliyunUid}:*",
              "Effect": "Deny"
            },
            {
              "Action": "ipa:*",
              "Resource": "acs:ipa:*:{AliyunUid}:*",
              "Effect": "Allow"
            }
          ],
          "Version": "1"
      }
  3. Grant permissions to the RAM user. For more information, see Manage RAM user permissions.