Skip to content
IAM Policy Generator

Session policy

A session policy is a JSON policy passed when you assume a role or create a federated user session with the AWS CLI or API. It limits the permissions that the identity-based policies grant to that session and grants nothing itself. The session receives the intersection of the session policy and the identity-based policies.

All terms ยท Open the workbench

An example, sourced

AWS HealthOmics announced on 17 Sep 2026 that it supports IAM session policies, so you can restrict permissions for an individual run without creating separate roles. AWS describes the session policy there as an inline policy that limits the maximum permissions of the run.

Why it matters here

Session policies let one role serve many narrower uses. A policy that reads as broad may be narrowed at the moment of use, which no static reading can show.

Sources

  1. https://aws.amazon.com/about-aws/whats-new/2026/09/omics-iam-session-policy/, read 16 Nov 2026

Last reviewed 16 Nov 2026.