Skip to content
Least Privilege Principle

Session policy

A session policy is an AWS policy passed when a role is assumed or a federated user session is created. It limits the permissions the session can use but never adds any. It works as a per-session ceiling applied on top of the role's own policies.

All terms ยท Open the calculator

An example, sourced

AWS documentation says session policies limit the permissions that the role or user's identity-based policies grant to the session, are passed with the AWS CLI or API, and do not grant permissions themselves.

Why it matters here

A session policy lets one role serve many callers while each session receives only a slice. The role stays broad, and the session does not.

Sources

  1. https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html, read 16 Nov 2026

Last reviewed 16 Nov 2026.