AWS Solutions Architect – Associate (SAA-C03) · Identity and multi-account security
STS, role switching and cross-account access
Temporary credentials, assuming roles in other accounts, external IDs and when a resource policy is simpler.
The idea
AWS STS (Security Token Service) hands out temporary credentials: an access key, a secret and a session token that expire after a set time (15 minutes to 12 hours). Whenever something "assumes a role", STS is behind it.
Temporary credentials are the safest kind: they expire by themselves, so there's nothing long-lived to leak. That makes roles the standard answer for access between accounts, from applications, and for federated users.
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole AWS Solutions Architect – Associate (SAA-C03) course are part of the membership.
Reference for this lesson
Free pages on the services and comparisons in this lesson.
- AWS Identity and Access Management (IAM) · Service
Open in the app to mark lessons complete, take notes and track your progress.