ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား · CLF-C02 အပေါ် ဆက်လေ့လာရန်

Root user and MFA

Keep root unused, protect it with MFA, and plan how you recover the account without it.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Cloud Practitioner မှ သင်သိပြီးသားများ

  • The root user has full access to the account, including billing.
  • Protect it with MFA, never create root access keys, and do daily work as an administrative user.
  • AWS Organizations can remove root credentials from member accounts.
Cloud Practitioner သင်ခန်းစာကို ဖတ်ရန်
  • Close the account

  • Change root email or password

  • Manage root access keys

  • Restore IAM admin access after a lockout

  • Fix a bucket policy that denies all

  • Activate IAM access to billing

Tasks that only the root user can do.
  • Passkey or security key

    Example
    FIDO2 key, device passkey
    Note
    Phishing resistant
  • Virtual authenticator

    Example
    Phone app with one-time codes
    Note
    Free, easy to roll out
  • Hardware token

    Example
    TOTP key fob
    Note
    Separate device, no phone needed
The MFA types AWS supports. A user can register more than one.

ဘာလဲ

The design goal is simple: nobody uses root day to day, and the account can still be recovered. Root is needed only for a short list of tasks. Everything else works with IAM permissions.

MFA comes in three types: virtual authenticator apps, FIDO2 security keys and passkeys, and hardware TOTP tokens. A user can register several devices, so a lost device does not lock the account. To force MFA for IAM users, add a policy that denies every action except setting up MFA when the aws:MultiFactorAuthPresent condition is not true.

ဘာလဲ

Plan a break-glass path for the day your identity provider is down. Keep one or two emergency IAM users or roles, with strong passwords and MFA, behind a strict process. Raise an alarm whenever they sign in, using AWS CloudTrail and Amazon EventBridge.

မှတ်ထားရန်

  • Root-only tasks: close the account, change the root email or password, restore IAM permissions after a lockout, and fix a bucket policy that denies everyone.
  • Activating IAM access to billing data is also a root task.
  • Never create access keys for root. Delete any that exist.
  • Force MFA with a Deny policy and the aws:MultiFactorAuthPresent condition.

မှတ်ထားရန်

  • In an organization, remove member-account root credentials and use central root access for the rare root tasks.
  • Break-glass: emergency IAM user or role, MFA, and an alarm on use.

စာမေးပွဲမှာ

  • “Only this task needs the root user” points to account closure, root credentials or a lockout recovery.
  • “Users must use MFA before they can call any API” points to a Deny policy with aws:MultiFactorAuthPresent.
  • “Reduce the risk of the root user in many accounts” points to central root access management in AWS Organizations.