

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 中檢視帳戶的詳細資訊 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>

**檢視 的詳細資訊 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 的子項，您可能需要選擇三角形圖示 ![\[Gray cloud icon representing cloud computing or storage services.\]](http://docs.aws.amazon.com/zh_tw/organizations/latest/userguide/images/console-expand.png)，以將其展開並查看其子項。重複此步驟，直到找到帳戶為止。

   **Account details** (帳戶詳細資訊) 方塊會顯示帳戶的相關資訊。

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

**檢視 的詳細資訊 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)

------