Tuesday 24 November 2026 20:56:23 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

AWS STS AssumeRole

The API used to obtain temporary credentials for an assumable role.

AWS STS AssumeRole is an API operation that lets an authorized principal request temporary security credentials for an IAM role. AWS checks the role’s trust policy and the caller’s permissions; if the request is allowed, the resulting session receives the role’s permissions for a limited time. Cross-account integrations commonly use this mechanism so a service or account can access selected resources without receiving permanent credentials.

In attacks, stolen or misused credentials may be used to assume a trusted role and access resources in another account. The session is temporary, but its effective permissions can still enable actions such as discovering cloud resources, retrieving secrets, or accessing S3 data. Defenders should restrict trust policies to specific principals and conditions, apply least privilege, review third-party access regularly, and monitor CloudTrail for AssumeRole calls and subsequent activity. External IDs can help reduce confused-deputy risk, but do not replace these controls.

← WIKICROOK index