Jan 14, 2022

AWS Policy Simulator Console Access

0
0
{{ }} Substitute variables

Adjust the variable values according to your preference.

Policy Code

1{
2    "Version": "2012-10-17",
3    "Statement": [
4        {
5            "Action": [
6                "iam:GetGroup",
7                "iam:GetGroupPolicy",
8                "iam:GetPolicy",
9                "iam:GetPolicyVersion",
10                "iam:GetRole",
11                "iam:GetRolePolicy",
12                "iam:GetUser",
13                "iam:GetUserPolicy",
14                "iam:ListAttachedGroupPolicies",
15                "iam:ListAttachedRolePolicies",
16                "iam:ListAttachedUserPolicies",
17                "iam:ListGroups",
18                "iam:ListGroupPolicies",
19                "iam:ListGroupsForUser",
20                "iam:ListRolePolicies",
21                "iam:ListRoles",
22                "iam:ListUserPolicies",
23                "iam:ListUsers"
24            ],
25            "Effect": "Allow",
26            "Resource": "*"
27        }
28    ]
29}
DOC

Attach this policy to a user, group, or role in the account you wish to enable Policy Simulator API access.

    Get the IAM Pulse Check Newsletter

    We send out a periodic newsletter full of tips & tricks, contributions from the community, commentary on the industry, relevant social posts, and more.

    Checkout past issues for a sampling of the goods.