﻿# STS source identity persists through role chains but still needs trusted binding

A practical investigation of sTS source identity persists through role chains but still needs trusted binding, with explicit observations, control cases and evidence limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/field-security-sts-source-identity-chain-trusted-binding/
Language: en

## The operational scenario

An artifact-fetching workflow assumes a shared role, then a narrower role in another account. Its audit groups requests by source identity and treats the string as a verified tenant. Persistence through the chain is useful, but does not independently establish who was allowed to choose the original value. The review must examine the initial binding as well as the final log field.

## The trust-boundary mechanism

AWS documents that an established source identity cannot be changed during the role session and persists through role chaining. It also provides policy conditions controlling its presence and value. Setting or carrying source identity requires the appropriate SetSourceIdentity permissions in the relevant trust and permissions policies. This is different from merely naming a role session, and different from assuming every supplied attribution string was independently verified.

## Define the control contract

Define the trusted origin of the identity and the allowed relation between that origin and the chosen value. Record the initial role trust policy and each intended role-chain transition. Decide what an absent value means. If downstream access depends on aws:SourceIdentity, ensure its accepted population follows from the issuing trust contract rather than a client-controlled claim whose convenient spelling resembles a legitimate tenant.

## A step-by-step verification

First inspect the policies as text and identify the permissions needed at each transition. In a disposable authorized fixture, compare an accepted source value with a disallowed value and an omitted value. Next carry the accepted session into the intended second role without replacing its identity. Preserve nonsecret session and request identifiers, then verify the attribution visible for a harmless permitted action rather than logging temporary credentials.

## Evidence required for acceptance

Acceptance requires a chain record connecting the authenticated origin, allowed source value, role assumptions and observed final request. Preserve denied assumptions independently from later resource denials. A failure in SetSourceIdentity permission is not proof that the artifact policy rejected the tenant. Document relevant service-attribution limitations too: the AWS guide notes that service or service-linked-role activity on behalf of an identity does not universally retain this field in CloudTrail.

## Failure cases and limits

This review establishes a particular attribution and policy boundary, not a universal identity system or complete trace of every delegated action. Source identity does not itself authorize all objects or eliminate the need for resource policies. No accounts or roles are changed for the article. The useful result is a justified mapping from the persistent string to its trusted origin, with unsupported hops explicitly excluded from the claim.

## Primary references and related reading

Persistent source identity supports attribution only when policy constrains who can set it and which values are accepted. [AWS source identity and role chaining](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html); [AWS STS AssumeRole policies](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html).

The proposed investigation of sts source identity chain trusted binding is a proposed control review; no live security test was executed. Related reading: [Equipment security when joining a GPU pool](/journal/hardware-security/); [ServiceAccount token expired: audiences and projected token rotation](/journal/kubernetes-projected-serviceaccount-token/).
