DEV Community

Cover image for Did You Know? Account Aliases
Rola Dali
Rola Dali

Posted on

Did You Know? Account Aliases

Having a hard time remembering your AWS 12 Digit account ID?

You can create an account Alias that would be a lot easier to remember!

Via the CLI

To create a new alias:

aws iam create-account-alias --account-alias mynewalias

To list account aliases:

aws iam list-account-aliases

To delete account aliases:

aws iam delete-account-alias

Reference

Via the AWS Console

  1. Sign in to the AWS Management Console.
  2. Open the IAM console.
  3. In the navigation pane, choose Dashboard.
  4. In the right-hand pane under AWS account, choose Customize. If an alias already exists, then choose Edit.
  5. Save changes.

Now you can use your Alias to sign into your account and can avoid the 12 Digit ID!

Reference

Now You Know!

Top comments (0)