Viewing your Amazon Web Services account ID - Amazon Identity and Access Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Viewing your Amazon Web Services account ID

If you are signed into the console, you can view the account ID for your Amazon Web Services account using the following methods.

To view your Amazon Web Services account ID

Console

The Amazon account ID is displayed when you go to the IAM Dashboard in the Amazon Web Services account section. You can also view your account ID in the navigation bar at the upper right. Choose your user name, and the account ID is displayed above your user name.

Account information drop-down box with account ID highlighted
Amazon CLI

Use the following command to view your user ID, account ID, and your user ARN:

API

Use the following API to view your user ID, account ID, and your user ARN: