AWS IAM Policy Explainer

Paste an IAM policy (identity, trust or resource policy such as an S3 bucket policy) and read it in plain English: who can do what, on which resources, and when. Risky parts are flagged: admin access, public access, privilege escalation, NotAction traps, open GitHub OIDC trust and S3 ARN mistakes. Then test a request against it. The policy never leaves your browser.

Summary

Paste a policy or load an example.

    Statement by statement

    Each statement appears here in plain English.

    Test a request

    this policy only

    How to read an IAM policy

    An IAM policy is a JSON document with one or more statements. Each statement says Effect (Allow or Deny), Action (which API calls, like s3:GetObject), Resource (which ARNs) and optionally Condition (only when, for example, the request uses HTTPS or comes from your office IP). Resource policies (S3 bucket policies, SQS queue policies, KMS key policies) and role trust policies also have a Principal: who the statement is about.

    AWS evaluates every policy that applies to a request: by default everything is denied, an Allow opens access, and an explicit Deny always wins. Inside a Condition, different keys and operators must all be true (AND), while a list of values for one key means any of them (OR).

    The risks this page looks for

    FindingWhy it matters
    "Action": "*", "Resource": "*"Full administrator access. One leaked key or compromised app owns the whole account.
    Allow with NotAction"Everything except IAM" also allows every service AWS adds in the future, including ones that can change permissions indirectly.
    Privilege escalationiam:PassRole, iam:AttachRolePolicy, iam:CreatePolicyVersion, iam:CreateAccessKey, lambda:UpdateFunctionCode and similar actions let a limited user give themselves more power.
    "Principal": "*"Public: anyone on the internet, unless a condition limits it to your organisation, account, VPC endpoint or IP range.
    GitHub OIDC trust without a sub conditionAny repository on GitHub can get credentials for the role. Always pin the organisation, repository and branch or environment.
    S3 bucket vs object ARNss3:GetObject needs arn:aws:s3:::bucket/*; s3:ListBucket needs arn:aws:s3:::bucket. Mixing them up means the permission silently never applies.
    ForAllValues in an AllowTrue when the request has no values at all, so the condition can be skipped.

    About the request test

    The test checks the request against this one policy: explicit Deny, then Allow, otherwise an implicit deny. Real AWS decisions also include other identity policies, permission boundaries, SCPs and RCPs from AWS Organizations, session policies and the resource's own policy. Use the official IAM policy simulator or IAM Access Analyzer for the full picture. Fill in the condition values the policy uses to see how they change the result; policy variables such as ${aws:PrincipalTag/team} are filled in from the values you enter.

    Frequently asked questions

    Is my policy uploaded? No. Everything runs in your browser. Your current policy is kept in this browser so it is still there after a reload; press Clear to remove it.

    Does it know every AWS action? It knows the service prefixes and naming patterns of common services, and lists the actions known for privilege escalation and reading sensitive data. It doesn't download the full list of 15,000+ actions, so a typo in an action name (rather than the service) isn't detected; the IAM console's policy editor does that.

    Learning AWS? See the IAM topic of the AWS roadmap.

    Privacy and browser support

    Privacy and processing

    Everything you type, paste or open is processed by JavaScript in this browser tab. The tool itself makes no network requests, so your input is never sent to DevToolbox or to anyone else.

    Settings and saved work stay in this browser only. The privacy policy lists everything the site stores and lets you delete it.

    Browser support

    Works in current versions of Chrome, Edge, Firefox and Safari, on desktop and on phones.

    After your first visit the site can keep an offline copy, so this page also works without a connection.