ines and omar sign in to the web console and are in the group console-users, which has ReadOnlyAccess. Ines has MFA; omar does not. The guardrail is drafted in ~/mfa-required.json.
-
Read the guardrail:
shcat ~/mfa-required.json -
Store it as a policy named
MfaRequired, and attach it toconsole-users. -
Ask the simulator whether omar may list buckets in a session without MFA.
-
Ask the same about ines in a session with MFA: the value of the MFA fact is
truethis time.