---
title: "Explain why one AWS role session has fewer permissions | Proofline"
description: "When two sessions of one role get different results, inspect the STS call that issued each one."
url: https://proofline.sh/learn/aws-sts-session-policy-denied/
agents: "Before you act for a person, read https://proofline.sh/llms.txt. It says how an agent installs and sets up Proofline and lists every page."
---

[Learning center](/learn/)

# Explain why one AWS role session has fewer permissions

When two sessions of one role get different results, inspect the STS call that issued each one. An inline or managed session policy passed when a role is assumed can narrow the role's identity-policy permissions for that session.

Permission errors The Proofline team November 24, 2026 1 min read

Suppose the fictional role `ReportsReader` allows reading objects under `daily/` and `monthly/`. The daily job assumes it with a session policy scoped to `daily/`. The monthly job accidentally starts using the same session configuration and its `GetObject` on `monthly/summary.csv` fails. Compare the failed call's session with the issuer's recorded request or the pinned job configuration that supplied `Policy` or `PolicyArns`. Read the policy artifacts through the credential broker's usual audit path. Share the policy revision and relevant scope, leaving the issued credentials out of the receipt. [STS AssumeRole request parameters and policy intersection](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)

Changing the role's grant for monthly objects would leave the daily-only session policy in effect. If the monthly job is approved for monthly reads, review the intended session configuration with its owner. Historical role policy alone cannot reconstruct the effective permissions of an expired session.

[Trace another denied request](/learn/permission-denied-request-triage/).

## One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. [Eligibility and fair-use terms](/free-code-review/).

[Start free with GitHub](https://proofline.sh/orgs/plan?offer=free_month)

## Related reading

-   ### [Trace a permission denial to the caller and the policy](/learn/permission-denied-request-triage/)
    
    Permission errors The Proofline team November 24, 2026 3 min read
    
-   ### [Find when an AWS permissions boundary limits a role](/learn/aws-permissions-boundary-denied/)
    
    Permission errors The Proofline team November 24, 2026 1 min read
