Files
floci/docs/services
Priamo Germosen adf1dced94 docs(sts): a transitive tag overrides the chained role's tag after its trust policy (#9733)
sts.md said Floci did not implement "transitive session tags replace matching ResourceTag values after the evaluation
of the role trust policy". It does, and the IAM user guide's own chain spells out what the rule means: "the inherited
Star = 1 session tag overrides the role Star = 3 tag". The role's trust policy is read with the role's own tag,
aws:ResourceTag/Star of 3, and the session it mints carries the inherited 1 as aws:PrincipalTag/Star, a session tag of
a key shadowing the role's tag of that key as any session tag does.

PrincipalTagEnforcementIntegrationTest now runs the guide's chain: a trust policy requiring aws:ResourceTag/Star = 3
allows the chained assume, and the session is allowed by aws:PrincipalTag/Star = 1 and not denied by = 3. The guide's
"if you try to pass the Sun = 2 session tag, the operation fails" does not follow from the published rule and is
still not refused.
2026-11-29 02:21:16 -04:00
..