StudyToCert

All certifications / Solutions Architect Associate / Lessons

AWS Certified Solutions Architect – Associate SAA-C03 · Domain 1: Design Secure Architectures

Federation and temporary credentials: STS AssumeRole, SAML and OIDC federation, Cognito user pools vs identity pools

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Federation means letting people use a login they already have, like a work account or a Google account, instead of making a new AWS account for each of them. Behind the scenes, AWS hands out short-lived keys that stop working after a while, like a parking ticket that expires, so a stolen one is not useful for long. Big companies use a standard called SAML to connect their employee directory. Websites and build tools use a newer standard called OIDC that passes around signed tokens. For apps with lots of customers, Amazon Cognito has two parts: a user pool is the sign-up and sign-in desk that checks who you are, and an identity pool turns that proof into short-lived AWS keys so the app can talk to services like S3 directly.

At Pinecrest Fitness, the mobile team is days from launching a workout app, and Jordan, the back-end lead, has a whiteboard full of arrows. Customers must sign up with email or Apple, upload workout videos straight to S3, and call an API that only signed-in users may reach. Separately, the build pipeline still uses an access key that someone pasted into its settings two years ago, and an auditor just flagged it. A junior developer proposes creating an IAM user for every customer. Jordan knows that is wrong but has to explain why, and what to use instead, before the design review this afternoon. Which piece of AWS answers which part of this picture?

Federation lets people and applications use an identity they already have, such as a corporate login, a Google account or a token from a build system, to get AWS access instead of an IAM user. The engine underneath is AWS Security Token Service (STS), which issues temporary credentials: an access key ID, a secret access key and a session token, valid for a limited time that you configure on the role within allowed bounds. Because they expire on their own, temporary credentials are far safer than long-term access keys: a leaked set stops working shortly, and there is nothing to rotate. This is why so many exam answers steer away from IAM users and toward roles plus federation.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Solutions Architect Associate for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Solutions Architect Associate study plan