---
title: "Identify the caller behind an assumed-role CloudTrail event | Proofline"
description: "Use the session issuer to identify the IAM role and record the session separately."
url: https://proofline.sh/learn/aws-cloudtrail-assumed-role-caller/
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/)

# Identify the caller behind an assumed-role CloudTrail event

Use the session issuer to identify the IAM role and record the session separately. When different jobs share a role, the issuer alone cannot identify which job made a request.

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

In a fictional `DescribeInstances` denial, CloudTrail records the session and its issuing role in separate fields.

| Field | Recorded value |
| --- | --- |
| `userIdentity.type` | `AssumedRole` |
| `userIdentity.arn` | `arn:aws:sts::111122223333:assumed-role/Inventory/scan-42` |
| `userIdentity.sessionContext.sessionIssuer.arn` | `arn:aws:iam::111122223333:role/Inventory` |

Send the role ARN to the policy owner. Use the request ID, time and session details to correlate the event with the job or the recorded role assumption. A session name such as `scan-42` can be supplied when a role is assumed. Treat it as a correlation value. If the organization records an enforced source identity, include it with the evidence. [CloudTrail user identity reference](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html) · [STS AssumeRole session name and source identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)

Read the recorded event from the trail or event store configured for the operation. A current STS caller check can diagnose a credential change since the incident, but it cannot fill a missing historical identity.

[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 why an AWS CLI command uses the wrong caller](/learn/aws-cli-unexpected-caller/)
    
    Permission errors The Proofline team November 24, 2026 1 min read
