

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 在中查看账户的详细信息 AWS Organizations
<a name="orgs_view_account"></a>

在 [AWS Organizations 控制台](https://console.aws.amazon.com/organizations/v2)中登录组织的管理账户时，您可以查看成员账户的相关详细信息。

**最小权限**  
要查看的详细信息 AWS 账户，您必须具有以下权限：  
`organizations:DescribeAccount`
`organizations:DescribeOrganization` – 仅当使用 Organizations 控制台时才需要
`organizations:ListAccounts` – 仅当使用 Organizations 控制台时才需要

------
#### [ AWS 管理控制台 ]<a name="view_details_account_v2"></a>

**查看 a 的详细信息 AWS 账户**

1. 登录 [AWS Organizations 控制台](https://console.aws.amazon.com/organizations/v2)。您必须以 IAM 用户的身份登录，担任 IAM 角色；或在组织的管理账户中以根用户的身份登录（[不推荐](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#lock-away-credentials)）。

1. 导航到**[AWS 账户](https://console.aws.amazon.com/organizations/v2/home/accounts)**页面，然后选择要检查的账户名称（而不是单选按钮）。如果您需要的账户是 OU 的子级，则可能需要选择 OU 旁边的三角形图标 ![\[Gray cloud icon representing cloud computing or storage services.\]](http://docs.aws.amazon.com/zh_cn/organizations/latest/userguide/images/console-expand.png)，以展开 OU 并查看其子级。重复操作，直到找到账户。

   **Account details (账户详细信息)** 框显示有关该账户的信息。

------
#### [ AWS CLI & AWS SDKs ]

**查看 a 的详细信息 AWS 账户**  
您可以使用以下命令查看账户的详细信息：
+ AWS CLI:
  +  [list-accounts](https://docs.aws.amazon.com/cli/latest/reference/organizations/list-accounts.html) – 列出组织中*全部*账户的详细信息
  +  [describe-account](https://docs.aws.amazon.com/cli/latest/reference/organizations/describe-account.html) – 仅列出指定账户的详细信息

  这两个命令为响应中包含的每个账户返回相同的详细信息。

  以下示例说明如何检索有关指定账户的详细信息。

  ```
  $ aws organizations describe-account --account-id 123456789012
  
  {
      "Account": {
          "Id": "123456789012",
          "Arn": "arn:aws:organizations::123456789012:account/o-aa111bb222/123456789012",
          "Email": "admin@example.com",
          "Name": "Example.com Organization's Management Account",
          "Status": "ACTIVE",
          "JoinedMethod": "INVITED",
          "JoinedTimestamp": "2020-11-20T09:04:20.346000-08:00",
          "Paths": [
              "o-aa111bb222/r-a1b2/123456789012/"
          ]
      }
  }
  ```
+ AWS SDKs:
  + [ListAccounts](https://docs.aws.amazon.com/organizations/latest/APIReference/API_ListAccounts.html)
  + [DescribeAccount](https://docs.aws.amazon.com/organizations/latest/APIReference/PI_DescribeAccount.html)

------