# Session policy

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

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.

## 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.

## Related pages

- [Temporary credentials: meaning and an example](/glossary/temporary-credentials/)
- [Access key rotation: meaning and an example](/glossary/access-key-rotation/)
- [MFA condition: meaning and an example](/glossary/mfa-condition/)
- [All of them](/glossary/)

## Sources

- https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://leastprivilegeprinciple.com/glossary/session-policy/
