Files
floci/docs/services
Jeremy Chapeau 743c44a0a4 fix(cloudtrail): record callers as CloudTrail's userIdentity types (#10101)
CloudTrail types the caller as Root for the account's credentials,
IAMUser for a user's key, AssumedRole for a role session and
FederatedUser for a federation token. Floci recorded the account root as
an IAMUser named root, and every session as an unknown "anonymous" user.
The account's credentials are now Root, with the account as principalId
and no userName; a role session is AssumedRole, with the role as its
sessionIssuer and the session's creationDate; a session a user's
GetSessionToken issued is that IAMUser.

Every temporary credential now carries its sessionContext attributes,
creationDate and mfaAuthenticated, which is true for a GetSessionToken
session opened with an MFA code. A session opened with a source identity
names it in sessionContext.sourceIdentity. A federation token's
sessionIssuer is the root or the IAM user that called
GetFederationToken. A session opened with AssumeRoleWithWebIdentity
names its identity provider in webIdFederationData. The root of an
account with an alias is named by it in userName.

Credentials GetDelegatedAccessToken exchanged for a request a role
approved now carry the role session's ID, "role-id:session-name", as
their aws:userid and CloudTrail principalId, with the role's ID as the
sessionIssuer's principalId.
2026-12-04 15:12:13 -04:00
..