mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 16:35:29 -05:00
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.