How STS Issues Temporary Credentials
Understand the security token service behind every role.
The Token Service
The Security Token Service (STS) is the AWS service that issues temporary security credentials. Every time a role is assumed or an identity is federated, STS hands out short-lived credentials instead of permanent keys. Understanding STS is central to the exam because temporary credentials underpin nearly all secure access patterns on AWS.
What Temporary Credentials Are
STS credentials consist of three parts: an access key ID, a secret access key, and a session token. The session token is what distinguishes them from long-term keys; it must accompany every signed request. All three expire together after a defined lifetime, making the credentials self-limiting.
All lessons in this course
- How STS Issues Temporary Credentials
- AssumeRole and the Session Lifetime
- External ID and the Confused Deputy
- Session Policies and Tag-Based Scoping