How do you enforce MFA for sensitive API actions?
IntermediateProductionIAM Best Practices
Answer
With Identity Center, MFA happens at login and every session is MFA-backed, so the cleanest approach is enforcing MFA at the IdP. For roles assumed directly, use aws:MultiFactorAuthPresent in the trust policy, or deny sensitive actions when MFA is missing. Use BoolIfExists carefully: "BoolIfExists": {"aws:MultiFactorAuthPresent": "false"} in a deny also blocks long-term access keys, which never carry the key, so scope such denies to human principals.
More on IAM Best Practices
What does least privilege look like in practice, not in theory?BeginnerWhat are the IAM rules you enforce for humans?BeginnerHow do you design Identity Center permission sets for many teams?IntermediateHow does ABAC with Identity Center work, and when is it worth it?AdvancedWhen do you use permission boundaries in production?IntermediateHow do you remove long-lived access keys from an existing estate?Intermediate