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.

Members can save this page, take notes and track progress. See membership · Sign in

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.

See plans Sign in

Reference for this lesson

Free pages on the services and comparisons in this lesson.

Open in the app to mark lessons complete, take notes and track your progress.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake