temporary security credentials
Cloud credentials that expire on their own after minutes or hours, issued when a role is assumed.
In more detail
They are scoped to one role and one session. Because they expire, a leaked copy is useful only briefly, and the cloud audit log records who asked for them.
Example
In AWS: AWS credentials, made of an access key ID, a secret key and a session token, that stop working after a set time.Related terms
- access key — A long-lived cloud credential made of a key ID and a secret key that works until someone deletes it.
- AWS STS — The AWS Security Token Service, which issues temporary credentials when someone assumes a role.
- OpenID Connect — An identity layer on top of OAuth 2.0 that tells an application who signed in, using a signed ID token.
- IAM role — A cloud identity with permissions but no password, which trusted users or workloads temporarily assume.
- AssumeRole — The STS operation a principal calls to take on an IAM role and receive that role's temporary credentials.
- secret lease — A borrowed copy of a secret that comes with an end time, after which it must not be used and a fresh copy must be fetched.
- TTL — How long a stored item, such as a session, token or cache entry, stays valid before it expires.
- workload identity — An identity for software rather than a person, proven by a signed token from the platform it runs on instead of a stored key.
Taught in
- Keyless Authentication: OIDC to the Cloud — Continuous Integration & Continuous Delivery Pipelines
- IAM as the Foundation — Cloud Infrastructure & Hyperscaler Architecture
- Users, Groups and Roles — Cloud Infrastructure & Hyperscaler Architecture
- The Danger of Long-Lived Keys — Cloud Infrastructure & Hyperscaler Architecture
- Elastic Compute Cloud (EC2) — Cloud Infrastructure & Hyperscaler Architecture
- Cloud IAM Architecture & Permission Boundaries — Cloud Security & DevSecOps Engineering
- Workload Identity Federation: Eliminating Static Keys — Cloud Security & DevSecOps Engineering
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering
- Moving To A Secret Manager — Application Security & Threat Modeling for Engineers
- Workload Identity — Application Security & Threat Modeling for Engineers