Updated on 2025-04-01 GMT+08:00

Creating a Custom Identity Policy

  1. Log in to the IAM console.
  2. In the left-hand navigation pane, choose Identity Policies. In the upper right corner, click Create Identity Policy.

3. Enter the policy name, set Policy View to JSON, set the policy content by refer to the following code (make replacements or adjustments if necessary), and confirm the settings.

{
  "Version": "5.0",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "iam:agencies:list",
        "iam:agencies:listV5"
      ]
    }
  ]
}