Skill 6.1.4

Managing permissions to control access to human and machine identities (for example, enabling multi-factor authentication [MFA], AWS STS, IAM profiles)

Key Concepts

For people, federate through IAM Identity Center or an IAM identity provider, enforce MFA, and require it for sensitive actions with the aws:MultiFactorAuthPresent condition. Root user credentials should be locked away with MFA, and Organizations can manage root access centrally.

For workloads, instance profiles attach roles to EC2, and AWS STS issues temporary credentials: AssumeRole for cross-account access (with an sts:ExternalId for third parties), AssumeRoleWithWebIdentity for OIDC federation such as GitHub Actions or EKS, and GetSessionToken for MFA-authenticated CLI sessions. Session duration and session policies further limit what a session can do.