Glossary

    Assume Role

    Identity & Access

    Assuming a role means calling the AWS Security Token Service (STS) AssumeRole API to obtain temporary credentials (access key ID, secret access key, and session token) that grant the permissions of the target role.

    The caller must be authorized to assume the role via the role's trust policy (a resource-based policy that defines who can assume it). The temporary credentials expire after a configurable duration (default 1 hour, max 12 hours).

    AssumeRole Variants

    • AssumeRole - for IAM users or roles in the same or different account
    • AssumeRoleWithSAML - for SAML-federated users (e.g., from Active Directory)
    • AssumeRoleWithWebIdentity - for users authenticated by an OIDC provider (e.g., Google, Cognito)

    Related AWS Services

    Toc Consulting: AWS Security & Cloud Architecture

    Securing your AWS estate?

    Our team helps engineering teams secure and architect AWS the right way: assessment in week one, a prioritized action plan in week two.