Use AWS STS to request temporary credentials, assume roles, verify the calling identity, and identify the AWS account associated with an access key.
Use the block
Assume roles, get temporary credentials, verify caller identity, and look up access key information.
Actions
STS Assume Role
Assume an IAM role and receive temporary security credentials
STS Assume Role With Web Identity
Assume an IAM role using an OIDC/OAuth 2.0 web identity token (e.g. GitHub Actions OIDC, EKS IRSA, Google/Facebook federation) and receive temporary security credentials
Input
Output
STS Assume Role With SAML
Assume an IAM role using a SAML 2.0 authentication response from an enterprise identity provider and receive temporary security credentials
Input
Output
STS Get Caller Identity
Get details about the IAM user or role whose credentials are used to call the API
Input
Output
STS Get Session Token
Get temporary security credentials for an IAM user, optionally with MFA
Input
Output
STS Get Access Key Info
Get the AWS account ID associated with an access key