Skip to main content

Cloud and deployment · Beginner · 17 min

Secure a new AWS account: the root user, MFA and your first admin

By Padding · Updated 18 Nov 2026
AWS Management Console in a desktop browser · console paths checked against the AWS docs, November 2026

You will have a new AWS account whose root user has a strong password, two phishing-resistant MFA devices and no access keys, plus your own IAM Identity Center admin user for everyday work, confirmed in the IAM credential report.

On this page

A new AWS account starts with one identity: the root user. It signs in with the email address and password you gave at sign-up, and it can do anything in the account, including closing it, changing the payment details and reading every bill. No policy can limit it. If someone else gets those two things, they own the account.

The fix is not complicated, but the order matters. In this tutorial you lock the root user down first, while you are still signed in as it, then create a separate admin user in IAM Identity Center for everything you do from tomorrow onwards. At the end the root user goes into a drawer and only comes out for a short list of tasks that need it.

The running example is Nightjar Studio, a two-person web agency that has opened its first AWS account. Replace the names, email addresses and alias with your own as you go.

Everything here happens in the AWS Management Console. AWS moves buttons around from time to time; the menu names below match the AWS documentation as of November 2026. If a label differs slightly, look for the nearest match on the same page. AWS's own root user best practices and Identity Center getting-started guide are the pages to check if something looks different.

Step 1 · Get the root sign-in details in order

Before you add MFA, make sure the things AWS uses to recover the root user are things you will still control in a year. If you lose every MFA device, AWS lets you back in by checking both the account's email address and its phone number. A stale phone number turns a lost phone into a locked account.

  1. Open your password manager and create an entry called something like "AWS root – Nightjar Studio". Put the root email address and the 12-digit account ID in it. You will add the password in the next step.
  2. Look at the root email address. AWS recommends an address your business manages that forwards to more than one person, used for nothing else. For Nightjar Studio that is aws-root@nightjar.example, which forwards to both founders. If yours is a personal inbox, you can change it later from the Account page while signed in as root.
  3. Sign in to the console as the root user. Choose your account name at the top right, then Account. Under Contact information, check that the phone number and address are current, and choose Edit if they are not.

If you are on a prepaid mobile line, as many people across Nigeria and the rest of Africa are, check how long your operator lets a number sit unused before it is deactivated and reissued. Use a number you top up and use regularly, or a business line, so the recovery number stays yours.

Check it worked

Your password manager has an AWS root entry with the email address and account ID. On the Account page, the phone number under Contact information is one you can receive a call or text on today.

Step 2 · Set a strong password and add two passkeys or security keys

AWS requires MFA on every root user and gives you 14 days from the first sign-in to add it. You can register up to eight MFA devices on the root user. Use a passkey or a FIDO security key rather than an authenticator app code: a passkey is tied to the real AWS sign-in page, so a look-alike phishing site cannot collect and replay it.

First, the password. Root passwords must be 8 to 128 characters, mix at least three of uppercase, lowercase, numbers and symbols, and must not match the account name or email address. Let the password manager generate one of 30 characters or more.

  1. Choose your account name at the top right, then Security credentials.
  2. If you signed up with a short or reused password, choose Edit next to Account settings (AWS asks you to sign in again), then Edit under Password. Enter the current password and the generated one, choose Save changes, and save the new password in the password manager entry.
  3. Under Multi-factor authentication (MFA), choose Assign MFA device.
  4. Give the device a name you will recognise later, such as founder-1-phone-passkey, choose Passkey or Security Key, then Next.
  5. Follow the browser prompts. Create the passkey with your fingerprint, face or device PIN, or insert and tap your security key. Choose Continue when it finishes.
  6. Repeat with a second device, such as founder-2-security-key or a key kept in a safe place. One device is a single point of failure.

A synced passkey lives in your passkey provider (Google, Apple, Microsoft or a password manager), so it follows you to a new phone. A security key works on any machine with a USB or NFC port and does not depend on your phone at all. Having one of each is a good mix.

Check it worked

On Security credentials, the Multi-factor authentication (MFA) section lists two devices, each with the type you chose. Sign out, then sign in again as root: after the password, the browser asks for your passkey or security key, and the sign-in completes only once you provide it.

Step 3 · Make sure the root user has no access keys

Access keys let a program call AWS as the root user, with no MFA prompt. AWS strongly recommends never creating them. New accounts should have none, but check, especially if you followed an old guide or someone else set the account up.

  1. On the root Security credentials page, scroll to Access keys.
  2. If any key is listed, write down its access key ID and ask yourself what uses it. If something does depend on it, only deactivate it for now (select it, then Actions, Deactivate), move that program to its own limited identity after you finish this tutorial, then come back and delete the key.
  3. If nothing should use the key, select it, choose Actions, then Delete. In the dialog, choose Deactivate, type the key ID to confirm and choose Delete.

Do not create a root access key to set up the AWS CLI. You will set up the CLI with your Identity Center user instead, in the CLI tutorial.

Check it worked

The Access keys section shows no keys and offers only a button to create one. Leave that button alone.

Step 4 · Add alternate contacts and an account alias

AWS writes to the root email address about everything. Alternate contacts let it reach the right person directly for three kinds of message: billing (invoices, failed payments), operations (service problems in a Region) and security (abuse reports, suspected compromise). You can set one of each, and a shared address works well.

  1. Choose your account name, then Account, and scroll to Alternate contacts. Choose Edit.
  2. Fill in all three. Nightjar Studio uses billing@nightjar.example, ops@nightjar.example and security@nightjar.example, with a business phone number on each. Choose Update.

If there is no Alternate contacts section, your account was probably created with AWS's simplified sign-up; the AWS Account Management guide explains how to turn on its advanced features.

Next, the alias. Your account has a sign-in page at an address built from the 12-digit account ID. An alias replaces the number with a name, so the page becomes https://nightjar-studio.signin.aws.amazon.com/console. It only changes that IAM sign-in page; your Identity Center portal, set up later, has its own address.

  1. Open the IAM console and choose Dashboard.
  2. In the AWS Account section, next to Account Alias, choose Create.
  3. Enter a name using lowercase letters, digits and hyphens, such as nightjar-studio. Aliases are unique across all of AWS, so a common name may be taken. Choose Save changes.

Check it worked

The Account page shows a billing, an operations and a security contact. The IAM Dashboard shows your alias under AWS Account, along with a sign-in URL that contains it.

Step 5 · Let admin roles see billing

By default, no IAM user or role can open the billing pages, even with full admin permissions. Only the root user can switch that on, so do it now while you are signed in as root. Otherwise you would have to take the root user out again the first time you want to check a bill.

  1. Go to the Account page.
  2. Under IAM user and role access to Billing information, choose Edit.
  3. Select Activate IAM access, then choose Update.

This does not give anyone billing access by itself. It lets the permissions you grant later take effect. The admin permission set in the next steps includes them.

Check it worked

The IAM user and role access to Billing information section now says IAM access is activated, or something like that, instead of deactivated.

Step 6 · Turn on IAM Identity Center and check its MFA settings

IAM Identity Center gives people a single sign-in page, the AWS access portal, and short-lived credentials that expire on their own. AWS recommends it for everyday admin work over IAM users with long-term passwords and keys.

Read this before you choose Enable. On a standalone account, turning on Identity Center creates an AWS Organization with your account as the management account. AWS's documentation says that if your account is on the free tier plan, creating an organisation upgrades it to the paid, pay-as-you-go plan and any free tier credits expire straight away. If you want to keep the free plan for now, skip this step and the next one, and go straight to the credential report step, downloading the report while you are still signed in as root. Be clear about what that means: until you set up everyday access another way, you will still be using the root user for daily work. Read how IAM users, groups and roles work next, and make that your first job.

  1. Pick the Region you want Identity Center to live in, using the Region menu at the top right. Some Regions let you replicate it to a second Region later, but AWS's docs say that changing the Region it was enabled in means deleting the instance and creating a new one, so choose one near you that you plan to keep.
  2. Open the IAM Identity Center console and choose Enable. On a standalone account you see Enable IAM Identity Center with AWS Organizations; review it and choose Enable again. If your Region offers a choice under Instance configuration, a Single-Region instance is enough for one person or a small team; a multi-Region instance adds a KMS key with its own charges.
  3. In the left navigation, choose Settings, then the Authentication tab. In the Multi-factor authentication section, choose Configure.
  4. Make sure Prompt users for MFA is set to Every time they sign in (always-on), that Security keys and built-in authenticators is selected under Users can authenticate with these MFA types, and that If a user does not yet have a registered MFA device is set to Require them to register an MFA device at sign in. These are the defaults; you are checking, not changing. Choose Save changes if you changed anything.

Check it worked

The Identity Center Settings page shows your instance, an identity source of Identity Center directory, and an AWS access portal URL ending in awsapps.com/start. Copy that URL into your password manager. The MFA section shows always-on prompts and required registration.

Step 7 · Create your admin user and give it access

Give admin rights to a group, not straight to your user. When someone joins or leaves, you change the group membership and leave the permissions alone.

  1. In the Identity Center navigation, choose Users, then Add user.
  2. Enter a username you will remember (it cannot be changed later), such as ada.okafor, your own work email address, and your first and last name. Choose Send an email to this user with password setup instructions. Choose Next.
  3. On Add user to groups, choose Create group. In the new tab, name it admins and choose Create group. Close that tab, refresh the list, tick admins, choose Next, then Add user.
  4. In the navigation, under Multi-account permissions, choose AWS accounts. Tick your account and choose Assign users or groups.
  5. Select the admins group and choose Next. Choose Create permission set; in the new tab, choose Predefined permission set, then AdministratorAccess, and accept the defaults, which give a one-hour session. Choose Create, close the tab, refresh, tick AdministratorAccess, choose Next, then Submit.
  6. Sign out of the root user.
  7. Open the invitation email, which comes from no-reply@signin.aws or no-reply@login.awsapps.com with the subject "Invitation to join IAM Identity Center". Choose Accept invitation, set a new generated password and save it in a separate password manager entry.
  8. When asked to register an MFA device, register a passkey or security key, then a second one from the portal's MFA devices page afterwards.

AdministratorAccess is broad. It is the right start for the person who owns the account, but once you know what you do day to day, create a narrower permission set for routine work and keep this one for changes that need it.

Check it worked

Signing in at your access portal URL asks for your username, password and passkey. The portal lists your account; expand it and you see AdministratorAccess. Choose it and the console opens. At the top right, the identity shown is something like AdministratorAccess/ada.okafor, not the word root. If you open that menu, the full role name starts with AWSReservedSSO_AdministratorAccess. Open Billing and Cost Management: the bills page loads instead of an access error.

Step 8 · Put the root user away and check the credential report

From now on you sign in through the access portal. The root user is only for the tasks AWS reserves for it. On a standalone account, the ones you are most likely to meet are:

  • Changing the root email address, root password or root access keys
  • Closing the account, or reopening it during the post-closure period
  • Restoring permissions if the only administrator removes their own access
  • Turning IAM access to billing on or off, and viewing certain tax invoices
  • Unlocking an S3 bucket or SQS queue whose policy denies everyone, and turning on S3 MFA delete
  • Registering as a seller in the EC2 Reserved Instance Marketplace

Now prove what you have done with the IAM credential report, a CSV file that lists every IAM identity in the account, root included, and the state of its credentials.

  1. Signed in through the access portal with AdministratorAccess, open the IAM console. If you skipped Identity Center to stay on the free plan, do this while still signed in as root.
  2. In the navigation, choose Credential report, then Download Report.
  3. Open the CSV in a spreadsheet and find the row whose user is <root_account>.

IAM makes a fresh report at most once every four hours and otherwise hands you the last one. If the report predates your changes, try again later.

Users you created in Identity Center are not IAM users, so they do not appear in this report. That is expected: they have no long-term passwords or keys stored in IAM.

Finally, write the plan down where the other founder or a future colleague will find it: where the root password and MFA devices are kept, who can reach the root email inbox and phone number, and the list of root-only tasks above. AWS suggests splitting these so no single person holds both the password and the MFA device.

Check it worked

On the <root_account> row, mfa_active is TRUE, access_key_1_active and access_key_2_active are both FALSE, and password_last_used is the date of your last root sign-in, today. If you set up Identity Center, the date in password_last_used should not have moved in a month's time.

Next steps

Your account has one locked-away root user and one admin who signs in with short-lived credentials. Before you create any resources, put a spending limit in place:

Need this done for you?

Padding does this work for growing companies, from the first diagnosis to a system that keeps working.

Platform Engineering

Get new tutorials

New tutorials, about twice a month.