mirror of
https://github.com/floci-io/floci.git
synced 2026-12-06 03:28:18 -05:00
A role's trust policy read a web identity token as two keys Floci built by hand, <issuer>:sub and <issuer>:aud, the latter always from the aud claim. The IAM User Guide's Default mapping, for every IdP it gives no tab of its own, also gives amr, email and oaud, and reads aud from azp where the token sets one; its page on creating an OIDC provider says AWS STS uses azp as the audience the provider's client IDs are checked against. A fetcher vendors the Default tab's rows and the provider page's azp sentence. The authorized-actions generator writes them as webIdentityClaims, and AssumeRoleWithWebIdentity reads the trust policy's keys and the token's audience from that section.