-
Sign in to your AWS Root Account
Open the AWS Console and click on Sign in.
Figure 1: AWS Console login page.
-
Enter your root user email address
This should be the same email used to create the AWS account.
Figure 2: Root account email entry.
-
Open CloudShell
Click the terminal icon in the AWS Console’s top-right navigation bar to launch CloudShell.
Figure 3: CloudShell launcher icon. -
Run IAM Setup Commands
Paste the following block into your CloudShell terminal: -
Confirm Execution
AWS will prompt you to confirm the commands are safe. Review the snippet and click Run when ready.
Figure 4: AWS CloudShell verification prompt.💡 Tip:
If nothing happens, you may need to hit Enter to execute the final command if it didn’t copy correctly. -
Save Your Access Keys
If successful, you’ll see output like this:
Figure 5: Output showing newly generated AccessKeyId and SecretAccessKey.
Be sure to copy and safely store both the AccessKeyId and SecretAccessKey. You’ll need them in the next step.