Skip to content
Least Privilege Principle

MFA condition

An MFA condition is a policy condition that allows an action only when the caller authenticated with multi-factor authentication. It narrows a grant to sessions that passed a second factor. It can sit in an identity policy, a resource policy or a role trust policy.

All terms ยท Open the calculator

An example, sourced

AWS documentation shows a trust policy for sts:AssumeRole with the condition "Bool": {"aws:MultiFactorAuthPresent": "true"}, and notes the key is present only when the user authenticates with short-term credentials.

Why it matters here

It protects sensitive actions without adding roles. The check is only as good as the factor behind it.

Sources

  1. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_configure-api-require.html, read 16 Nov 2026

Last reviewed 16 Nov 2026.