mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* fix(sts): honour 12-digit access key as account ID GetCallerIdentity, AssumeRole, AssumeRoleWithWebIdentity, AssumeRoleWithSAML, and GetFederationToken now resolve the account ID from the request-scoped RegionResolver instead of the static IAM default, so ARNs match the per-account namespace used by SNS, SQS, S3, etc. Closes #981. * fix(sts): derive AssumedRoleUser account from RoleArn AssumeRole, AssumeRoleWithWebIdentity, and AssumeRoleWithSAML now build AssumedRoleUser.Arn using the account ID parsed from the supplied RoleArn, falling back to the caller's account only when the ARN is missing or unparseable. This matches AWS cross-account assume-role behaviour: the resulting ARN belongs to the target role's account, not the caller's.