

# Identities recorded in lineage events

AWS services record who ran each job in the lineage event. You can query these identities in the lineage system table for audits.

## Identity fields
<a name="catalog-lineage-identity-fields"></a>


| Field | Description | Example | 
| --- | --- | --- | 
| execution\_role | The IAM role that ran the job and accessed data | arn:aws:iam::111122223333:role/emr-job-role | 
| submitted\_by | The principal that started the job or session | arn:aws:sts::111122223333:assumed-role/airflow-prod/run | 
| on\_behalf\_of | The identity the work ran for, such as a person or an orchestrator | arn:aws:identitystore::111122223333:identitystore/d-1234567890/94482488-... | 
| on\_behalf\_of\_type | How on\_behalf\_of was determined | IDENTITY\_CENTER\_USER | 

**Note**  
If AWS can't find the role that ran the job, all identity fields are empty. If you send events yourself with `PostLineageEvent`, the identity fields show what you send, and AWS Glue Data Catalog doesn't check them.

## Values of on\_behalf\_of\_type
<a name="catalog-lineage-identity-on-behalf-of-type"></a>


| Value | Meaning | 
| --- | --- | 
| IDENTITY\_CENTER\_USER | An AWS IAM Identity Center user, for example through trusted identity propagation | 
| IAM\_FEDERATION | A federated IAM principal.  | 
| WORKLOAD\_IDENTITY | A workload identity.  | 
| NONE | No on-behalf-of identity was recorded.  | 

## Identities by service
<a name="catalog-lineage-identity-by-service"></a>


| Service | `execution_role` | `submitted_by` | 
| --- | --- | --- | 
| Amazon EMR on EC2 | Runtime role, or the EC2 instance profile | The caller of AddJobFlowSteps | 
| Amazon EMR Serverless | Job runtime role | The caller of StartJobRun | 
| Amazon EMR on EKS | Job execution role | The caller of StartJobRun | 
| AWS Glue | Job IAM role | The caller of StartJobRun | 

## Considerations
<a name="catalog-lineage-identity-considerations"></a>

For limitations, see [Considerations](catalog-lineage-considerations.md).