Multi-cloud federation
Trust and permission are separate
Federation lets a relying platform accept credentials from a trusted external identity provider (IdP) and obtain a platform-specific credential in supported flows. Distinguish human workforce federation from workload federation. A successful exchange establishes an identity in a context; it does not automatically authorize all resources. Draw the IdP, trust configuration, token exchange and resource authorization as separate boundaries.
Compare supported trust models
Microsoft Entra workload identity federation supports external identities using app registrations or user-assigned managed identities in supported scenarios. For ordinary exact-match federated credentials, issuer, subject and audience must match case-sensitively. Google Cloud Workload Identity Federation uses workload identity pools and providers, attribute mapping and conditions, with direct resource access or supported service account impersonation. Do not assume the Entra matching rules are the Google Cloud configuration format.
Lifecycle and ownership
Assign an owner to each trust and each resource grant. Limit allowed external identities to the intended workload and environment; prefer short-lived credentials and monitor exchange and resource activity. When a workload is retired, remove obsolete trust and resource assignments, assess outstanding token lifetimes, and verify that future exchange and resource access are rejected as expected. Token revocation behavior depends on platform and credential type. Keep emergency recovery access separately governed.
Worked federation review
A fictional report worker presents an already-verified assertion. Its approved issuer, subject and audience match the classroom trust; the expiry time is strictly later than evaluation time. Trust passes, but the resource role is missing, so the resource decision is deny. A second assertion expiring exactly at evaluation time is denied by the toy rule. This is a fixed-time policy exercise, not JWT verification, a token exchange service or a cloud simulator.
Practice: review a trust lifecycle
Use federation.json to review the synthetic exact-match trust, expiration, and separately resolved resource grant. Preserve unknowns and reject expired assertions. For a multi-cloud design identify responsibility for identity proof, token issuance, cloud policy, logging, secret/key lifecycle and incident response. Review actual service availability, quotas and costs before a real design. No cloud account, service activation or billing is needed.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Multi-cloud federation — knowledge check
Evaluate Azure and Google Cloud access, evidence and federation decisions.
What does successful federation establish?
Which claims are matched in ordinary Entra exact-match credentials?
What does Google Cloud workload federation use?
An assertion expires exactly at the evaluation time. What is the toy result?
What is required when a workload retires?