Identity and Access Management
A broker assumes an entry role with a validated TenantId session tag, then chains into a data role whose policy uses aws:PrincipalTag/TenantId; the downstream call must not resubmit the tag. Both roles already permit the required role assumption and session tagging; how should the broker preserve tenant isolation through the chain?
Show the answer
Correct answerD. Include TenantId in TransitiveTagKeys when assuming the entry role.
AWhy not this: SourceIdentity supports attribution but does not populate aws:PrincipalTag/TenantId.
BWhy not this: RoleSessionName identifies the session but does not create a TenantId principal tag.
CWhy not this: A role resource tag is shared configuration, not an inherited tenant-specific session attribute.
DWhy this is right: A transitive session tag is inherited by subsequent role sessions without resubmitting the tag.
Marking a session tag as transitive preserves it through role chaining, allowing the data role's policy to evaluate aws:PrincipalTag/TenantId. SourceIdentity persists for attribution but does not become a principal tag.