0PricingLogin
AWS Security Academy · Lesson

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

  1. How STS Issues Temporary Credentials
  2. AssumeRole and the Session Lifetime
  3. External ID and the Confused Deputy
  4. Session Policies and Tag-Based Scoping
← Back to AWS Security Academy