---
title: 管理客戶自有儲存空間
url: https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage
description: 檢查您儲存貯體的狀態、在儲存貯體停止運作時修正它，以及變更或停止使用它。
---

<Warning>
  Enterprise Frontier Safeguards 目前處於測試版階段。此功能依據您與 Anthropic 之間的協議提供，例如僅限內部使用條款、[商業服務條款](https://www.anthropic.com/legal/commercial-terms)和[服務特定條款](https://www.anthropic.com/legal/service-specific-terms)。在測試版期間，設定和行為可能會有所變更。
</Warning>

當工作區搭配 [Enterprise Frontier Safeguards](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/overview) (EFS) 使用[客戶自有儲存空間](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/customer-owned-storage)後，請使用本頁。本頁說明如何檢查您儲存貯體的狀態、在儲存貯體停止運作時修正它，以及變更或停止使用它。

## 儲存貯體狀態

在 Claude Console 的[資料保留](https://platform.claude.com/settings/privacy)頁面上，於頁面頂端選擇**組織**後，即可在 **Storage destinations** 下找到每個儲存貯體的狀態：

| 狀態 | 意義 |
| ----- | ----- |
| **Needs setup** | <Where bucket="s3" label="Amazon S3">[**Test setup**](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#test-the-setup)</Where> <Where bucket="gcs" label="Google Cloud Storage">[**Test setup**](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-create-the-bucket)</Where> 尚未通過。 |
| **Ready** | 您的儲存貯體已通過 **Test setup**，且尚無工作區使用它。 |
| **Active** | 有工作區設定為使用它。 |
| **Failed last check** | 最近一次檢查未通過。請參閱[如果您的儲存貯體停止運作](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#if-your-bucket-stops-working)。 |
| **Draining** | 目前沒有工作區使用它，但曾經有工作區使用過。<Where bucket="s3" label="Amazon S3">[保留您的儲存貯體以及 Anthropic 對它的存取權](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#change-or-stop-using-your-bucket)。</Where> <Where bucket="gcs" label="Google Cloud Storage">[保留您的儲存貯體以及 Anthropic 對它的存取權](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-stop-using-your-bucket)。</Where> |
| **Deleting** | <Where bucket="s3" label="Amazon S3">Anthropic 正在[完成此儲存目的地的刪除](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#delete-a-storage-destination)。</Where> <Where bucket="gcs" label="Google Cloud Storage">Anthropic 正在完成此儲存目的地的刪除。</Where>您無法使用它。 |

Anthropic 會在工作區首次使用儲存貯體之前檢查它。Anthropic 也會每天檢查每個由工作區使用或顯示為 **Draining** 的儲存貯體一次。即使您儲存貯體用於[逐字記錄和 Safety Cases](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/customer-owned-storage) 的 IAM 角色失敗，每日檢查仍可能通過。

如果每日檢查無法得出結論，狀態和上次檢查時間都不會變更，即使您的儲存貯體已停止運作也一樣。顯示為 **Draining** 的儲存貯體即使未通過檢查，也會維持 **Draining**。

如果檢查失敗，即使是顯示為 **Draining** 的儲存貯體，Anthropic 通常也會以電子郵件通知您組織中可管理加密金鑰的成員。在 [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/zh-TW/build-with-claude/claude-models-on-google-cloud/anthropic-managed#set-up-your-account) 和 [Claude Platform on AWS](https://platform.claude.com/docs/zh-TW/build-with-claude/claude-platform-on-aws#set-up-your-account) 上，Anthropic 則通常會改為以電子郵件通知完成您組織設定的人員。

<Where method="api" label="Admin API">

<Where bucket="s3" label="Amazon S3">

## 檢查您的儲存貯體

這些 Admin API 請求使用「設定客戶自有儲存空間」頁面上[驗證您的請求](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-authenticate)中的憑證。

取得單一儲存貯體以查看其狀態：

<CodeGroup>
  ```bash cURL
  curl https://api.anthropic.com/v1/organizations/external_storage/estrg_01SDCCSbTxrXDpWc1phhtcfK \
    -H "authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
    -H "anthropic-version: 2026-10-21" \
    -H "anthropic-beta: efs-2026-10-01"
  ```
</CodeGroup>

若要列出您所有的儲存貯體，請呼叫 `GET /v1/organizations/external_storage`。結果會由新到舊排序，每頁 20 筆；若傳入 `?limit=`，每頁最多 1,000 筆。若要取得下一頁，請將回應中的 `next_page` 作為 `?page=` 傳入。

`status.type` 會告訴您儲存貯體目前處於生命週期的哪個階段。每個值都對應 Claude Console 在[儲存貯體狀態](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#bucket-health)中顯示的一個狀態：

| API 狀態 | Console 狀態 | 意義 |
| ----- | ----- | ----- |
| `pending_configuration` | Needs setup | 已註冊，尚未啟用。 |
| `available` | Ready | 已啟用，且沒有任何工作區使用它。 |
| `active` | Active | 至少有一個工作區設定為使用它。 |
| `draining` | Draining | 目前沒有任何工作區使用它，但之前至少有一個工作區使用過。請依照[變更或停止使用您的儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#change-or-stop-using-your-bucket)的說明，保留您的儲存貯體以及 Anthropic 對它的存取權。 |

對於 `available`、`active` 和 `draining`，`status` 還包含兩個欄位。`healthy` 表示您的儲存貯體是否通過最近一次檢查，`last_checked_at` 則表示該次檢查的執行時間。對於 `draining`，它還包含 `removal_started`，一旦刪除開始，該值即為 `true`。Claude Console 接著會顯示 **Deleting**。對於 `available` 和 `active`，`healthy` 值為 `false` 時，在 Claude Console 中會顯示為 **Failed last check**。請參閱[如果您的儲存貯體停止運作](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#if-your-bucket-stops-working)。

`healthy` 和 `last_checked_at` 會在您的儲存貯體被啟用時，以及在作為 `safeguards_storage` 附加前通過 Anthropic 的檢查時設定。在 Claude Platform 上，每日檢查得出結果時也會設定它們（請參閱[儲存貯體狀態](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#bucket-health)）。如果某天的檢查未得出結果，它們會維持原狀，因此即使您的儲存貯體停止運作，`healthy` 仍可能維持 `true`。請勿僅依賴這些欄位。若要察覺故障，請在送出請求時留意 `slab/` 或 `safeguards-data/slab/` 下是否出現新物件。

</Where>

</Where>

## 如果您的儲存貯體停止運作

<Where bucket="s3" label="Amazon S3">

若要修正停止運作的儲存貯體，請檢查[您儲存貯體的狀態](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#bucket-health)，然後依照本節所述讓您的儲存貯體或其 IAM 角色恢復運作。

如果您在過去幾小時內才為工作區選擇儲存目的地，而 `slab/` 或 `safeguards-data/slab/` 下尚未出現任何內容，[變更可能尚未生效](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#how-long-changes-take)。

在 Anthropic 無法寫入存放[密封的安全資料](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/customer-owned-storage#what-is-stored)的儲存貯體期間，會發生以下情況：

* **請求：** 在最長 24 小時的寬限期內，請求會繼續運作。在那之後，Anthropic 可能會拒絕對該工作區的請求。
* **您的密封的安全資料：** Anthropic 會在有限時間內重試寫入。它不會將該資料改送往 Anthropic 管理的儲存空間。

為避免遺失資料，請留意以下事項：

* 若要察覺故障，請在傳送請求時留意 `slab/` 或 `safeguards-data/slab/` 下是否出現新物件。請勿等待關於故障的電子郵件，也不要僅依賴[您儲存貯體的狀態](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#bucket-health)。
* 請盡快讓您的儲存貯體恢復運作。如果 Anthropic 無法寫入您的儲存貯體超過大約一小時，請立即告知您的 Anthropic 客戶團隊，並在您的儲存貯體恢復運作時再次告知他們。您的儲存貯體恢復運作後，Anthropic 必須執行復原作業，而復原不保證會成功。
* 在 Claude Platform 上，密封的安全資料傳送後約 72 小時，Anthropic 會刪除所有尚未復原的資料。在 Claude Platform on AWS 上，此時間可能更短，因此請在察覺故障後盡快告知您的 Anthropic 客戶團隊。

如何恢復您的儲存貯體取決於變更了什麼：

* **IAM 角色：** 如果有任何機制移除了 Anthropic 對您儲存貯體的存取權，請將角色完全恢復為原本的樣子。

  * **CloudFormation：** 請勿刪除或更新您的堆疊，也請勿為此儲存貯體建立第二個堆疊。請改為立即聯絡您的 Anthropic 客戶團隊。
  * **Terraform：** 在與之前相同的資料夾中，使用相同的區域和值，再次執行您儲存貯體 Terraform 檔案標頭中的 apply 命令。如果您已不再保有該資料夾，請立即聯絡您的 Anthropic 客戶團隊。
  * **您自己的工具：** 以相同的名稱，並使用 **Connect storage** 對話方塊所提供檔案中的信任政策和權限，再次建立角色。如果您未保留該檔案，請聯絡您的 Anthropic 客戶團隊。

* **您儲存貯體的 KMS 金鑰，如果有人停用了它：** 再次啟用它。

* **您儲存貯體的 KMS 金鑰，如果有人排定刪除它：** 在所選擇的 7 到 30 天等待期結束之前取消刪除。然後啟用該金鑰，因為 AWS 會讓它維持停用狀態。等待期過後，AWS KMS 會刪除該金鑰，任何人都無法讀取它所加密的內容。

* **AWS 組織政策：** 如果某項政策現在阻擋了 Anthropic，請[將 Anthropic 的 AWS 帳戶新增到該政策中](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#add-anthropic-to-the-rcp)。

* **您的客戶管理金鑰，如果工作區有的話：** 請依照[如果您的金鑰停止運作](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/customer-managed-keys#if-your-key-stops-working)操作。

如果您的角色具有固定名稱（例如 `anthropic-efs-ingest`），請依照此清單所述恢復相同的設定。請勿將其移至不同的設定檔案。如需參考，請使用您所部署的檔案。

</Where>

<Where bucket="gcs" label="Google Cloud Storage">

請參閱[如果您的 Cloud Storage 儲存貯體停止運作](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-if-your-bucket-stops-working)。

</Where>

## 變更或停止使用您的儲存貯體

<Where bucket="s3" label="Amazon S3">

若要移至新的儲存貯體或停止使用您的儲存貯體，請依照本節中的步驟操作。無論哪種情況，都請保留您的舊儲存貯體以及 Anthropic 對它的存取權，直到您儲存貯體中的所有內容都超過[保留期限](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/customer-owned-storage#retention-period)，且您的儲存貯體不再列於 [**Storage destinations**](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#bucket-health) 下為止。在那之後，[有些物件會留在您的儲存貯體中](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#what-removes-data)。

在變更或移除工作區的儲存貯體之前，請先[回應其尚未結案的 Safety Cases](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/flagged-cases#respond-to-a-case)，並[等待它們結案](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/flagged-cases#after-you-respond)。如果您先變更或移除儲存貯體，Anthropic 可能不會讀取您的[回應檔案](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/safety-case-files#response-file)。

在您的儲存貯體顯示為 **Draining** 期間，請保留該儲存貯體、其版本控制、其生命週期規則、其 KMS 金鑰和其 IAM 角色。**Draining** 不會自行結束。它會在您[刪除儲存目的地](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#delete-a-storage-destination)或再次為工作區選擇該儲存貯體時結束。如果您無法刪除它，請在移除 Anthropic 的存取權之前先與您的 Anthropic 客戶團隊討論。在 Claude Platform on AWS 上，一旦有工作區使用過某個儲存目的地，您就無法刪除它，因此它會持續顯示為 **Draining**。請規劃保留您的儲存貯體以及 Anthropic 對它的存取權。

只要您保留您的儲存貯體，就請勿停用其 KMS 金鑰或排定刪除該金鑰。如果您這麼做，對您儲存貯體的寫入和讀取會開始失敗，因此請[恢復該金鑰](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#if-your-bucket-stops-working)。

如果您刪除了曾有工作區使用過的儲存貯體，在其儲存目的地仍列出期間，請勿以相同名稱再次建立它。請改為以新名稱[設定新的儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#change-your-bucket)。

### 變更您的儲存貯體

若要將您的工作區移至新的儲存貯體，請依照這些步驟操作。若要改為移至 Google Cloud Storage 儲存貯體，請與您的 Anthropic 客戶團隊討論，因為 [Anthropic 會限制儲存貯體的數量](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-use-your-bucket-in-a-workspace)。在 Claude Platform on AWS 上，請在變更您的儲存貯體之前先詢問您的 Anthropic 客戶團隊。

<Warning>
  此移動不會立即生效，如[確認變更已生效](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#how-long-changes-take)所述。即使物件已開始送達您的新儲存貯體，新的密封的安全資料仍可能在一段時間內送往您的舊儲存貯體。請依照[變更或停止使用您的儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#change-or-stop-using-your-bucket)中的說明，保留您的舊儲存貯體以及 Anthropic 對它的存取權。如果您提早移除其中任何一項，可能會遺失新資料。
</Warning>

1. [建立並連接您的新儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#create-the-bucket-and-roles)。請使用專屬的堆疊建立它，或者若使用 Terraform，請在專屬的資料夾中建立。請勿更新您現有的堆疊以指向新儲存貯體，否則 Anthropic 會在您的舊儲存貯體仍存放您的資料時失去對它的存取權。
2. 在每個使用您舊儲存貯體的工作區中，於 Claude Console 的 **Sealed Safety Data storage** 下[選擇您的新儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/setup-console#turn-on-efs-for-a-workspace)。請勿先將您的舊儲存貯體從該工作區移除，否則新的密封的安全資料可能會送往 Anthropic 管理的儲存空間。如果該工作區也在 **Safety Case and Transcript storage** 下使用您的舊儲存貯體，請也在該設定下選擇您的新儲存貯體。然後，儲存。

<Where method="api" label="Admin API">

在步驟 1 中，[註冊](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-register)並[啟用](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-activate)您的新儲存貯體。在步驟 2 中，請改為使用您新儲存貯體的 ID [送出附加請求](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-attach)。如果 `transcripts_storage` 指定了您的舊儲存貯體，請在同一個請求中將它設為新儲存貯體的 ID。

</Where>

<Where method="console" label="Claude Console">

### 停止使用您的儲存貯體

若要停止使用您的儲存貯體，請先將它從每個工作區移除，最後再移除 Anthropic 對您儲存貯體的存取權。停止將密封的安全資料傳送至您儲存貯體的工作區會退出 EFS。

<Steps>
  <Step title="從每個工作區移除您的儲存貯體">
    在該工作區的[資料保留](https://platform.claude.com/settings/privacy)頁面上，選擇 **Enterprise Frontier Safeguards** 以外的卡片，然後儲存。根據預設，**Anthropic managed** 卡片會將 [Anthropic Human Review](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) 重新開啟。[詞彙表](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/faq#glossary)說明了每張卡片。

    若只要停止逐字記錄和 Safety Cases，請改為在 **Safety Case and Transcript storage** 下選擇 **Not copied to your storage**。如果該儲存貯體仍會接收密封的安全資料，請勿執行其餘步驟。
  </Step>

  <Step title="在儲存貯體排空期間保留它">
    一旦您將它從每個工作區移除，您的儲存貯體就會在 **Storage destinations** 中顯示為 **Draining**。只要狀態為 **Draining**，請保留您的儲存貯體以及 Anthropic 對它的存取權。若要結束 **Draining**，請[刪除儲存目的地](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#delete-a-storage-destination)。在 Claude Platform on AWS 上，您的儲存貯體會維持 **Draining**，因此請規劃保留它以及 Anthropic 對它的存取權。在刪除完成或您的 Anthropic 客戶團隊指示您這麼做之前，請勿執行下一個步驟。已在您儲存貯體中的逐字記錄和 Safety Cases 會留在其中，直到您儲存貯體的生命週期規則讓它們過期為止。請參閱[儲存貯體中的內容](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/safety-case-files#whats-in-the-bucket)。
  </Step>

  <Step title="移除 Anthropic 的存取權">
    若要移除 Anthropic 的存取權，請使用您建立儲存貯體 IAM 角色時所用的工具移除這些角色。移除 Anthropic 的存取權後，密封的安全資料會保留在您的儲存貯體中，直到您刪除它為止。

    <Tabs>
      <Tab title="CloudFormation">
        刪除您儲存貯體的堆疊。該堆疊的名稱位於您的部署命令中：`anthropic-storage-<RoleDigest>`，或者對於具有固定角色名稱的設定，則為 `anthropic-storage-<organization ID>`。刪除堆疊會保留您的儲存貯體及其金鑰。
      </Tab>

      <Tab title="Terraform">
        請只移除您儲存貯體的角色及其政策，以便保留您的資料。在存放您儲存貯體 Terraform 檔案的資料夾中，使用您在設定時使用的區域和值，執行該 Terraform 檔案標頭中的移除命令。

        您會看到關於 `-target` 的警告。確認計畫列出的每個資源都是 `aws_iam_role` 或 `aws_iam_role_policy`，然後輸入 `yes`。之後的套用會再次建立這些角色。
      </Tab>

      <Tab title="Your own tooling">
        刪除該儲存貯體的 IAM 角色。
      </Tab>
    </Tabs>

    <Warning>
      角色移除後，在它們恢復之前，請勿再次為工作區選擇您的儲存貯體。在 Claude Platform on AWS 上，或者如果您的角色具有固定名稱，Anthropic 不會在儲存之前檢查處於 **Draining** 的儲存貯體，因此即使 Anthropic 無法寫入您的儲存貯體，儲存仍可能成功。如果您使用的是 CloudFormation，再次部署範本並不會恢復 Anthropic 的存取權，因此請在選擇您的儲存貯體之前聯絡您的 Anthropic 客戶團隊。
    </Warning>
  </Step>
</Steps>

</Where>

<Where method="api" label="Admin API">

### 停止使用您的儲存貯體

這些 Admin API 請求使用「設定客戶自有儲存空間」頁面上[驗證您的請求](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-authenticate)中的憑證。

若要停止使用您的儲存貯體，請依序執行下列步驟：

1. 將您的儲存貯體從每個工作區分離。
2. 在您的儲存貯體排空期間保留它。
3. 刪除其 External Storage。
4. [移除 Anthropic 的存取權](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#api-remove-access)。

若要將您的儲存貯體從工作區分離，請將每個指定您儲存貯體的儲存欄位設為類型 `internal`。這些欄位是 `inference_data_privacy.safeguards_storage` 和 `inference_data_privacy.transcripts_storage`，您可以在同一個請求中設定兩者。如果您將 `safeguards_storage` 設為類型 `internal`，該工作區會切換為 Anthropic 管理的儲存空間，並不再使用 EFS。Anthropic 可能會拒絕讓 [Anthropic Human Review](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) 維持關閉的分離請求，因此下列請求也會將 `inference_data_privacy.human_review` 設為類型 `enabled`，以將 Anthropic Human Review 重新開啟：

<CodeGroup>
  ```bash cURL
  curl https://api.anthropic.com/v1/organizations/workspaces/wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ \
    -H "authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
    -H "anthropic-version: 2026-10-21" \
    -H "anthropic-beta: efs-2026-10-01" \
    -H "content-type: application/json" \
    -d '{
      "inference_data_privacy": {
        "safeguards_storage": {
          "type": "internal"
        },
        "human_review": {
          "type": "enabled"
        }
      }
    }'
  ```
</CodeGroup>

如果[您組織的政策](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/setup-console#set-organization-defaults)要求使用客戶自有儲存空間，或要求關閉 Anthropic Human Review，對於會保留密封的安全資料的工作區，Anthropic 會以 `workspace_policy_violation` 拒絕此請求。請先變更該政策，然後再送出請求。

與附加相同，分離[不會立即生效](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#how-long-changes-take)。

在最後一次分離之後，您儲存貯體的狀態會變成 `draining`。此狀態不會自行脫離 `draining`。它會在您再次附加該儲存貯體或刪除其 External Storage 時結束。在刪除完成之前，請保留您的儲存貯體以及 Anthropic 對它的存取權。如果您無法刪除該 External Storage，請在移除 Anthropic 的存取權之前先與您的 Anthropic 客戶團隊討論。[刪除儲存目的地](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#delete-a-storage-destination)說明了誰可以刪除它，以及需要先做什麼。

然後刪除您儲存貯體的 External Storage。External Storage 是 Anthropic 對您儲存貯體的記錄，而不是您的儲存貯體本身。結果取決於您儲存貯體的狀態：

* `pending_configuration` 或 `available`：Anthropic 會立即刪除該 External Storage。
* `active`：Anthropic 會拒絕刪除。
* `draining`：第一次呼叫會傳回帶有 `external_storage_in_use` 的 400 錯誤。[取得該 External Storage](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#api-check)。如果 `status.removal_started` 為 `false`，錯誤訊息會說明該怎麼做。如果它為 `true`，您就無法復原此移除作業。請每隔幾分鐘再次送出刪除請求，直到成功為止，這可能需要大約 30 分鐘。如果一小時後仍被拒絕，請聯絡您的 Anthropic 客戶團隊。503 錯誤表示沒有任何變更，因此請稍後再試。

如果[您組織的政策](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/setup-console#set-organization-defaults)列出此儲存貯體，Anthropic 會拒絕刪除，直到您將該儲存貯體從政策中移除為止。一旦有工作區使用過您的儲存貯體，請將您的儲存貯體名稱、KMS 金鑰和 IAM 角色視為[已與您的組織綁定](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#before-you-begin)。

<CodeGroup>
  ```bash cURL
  curl -X DELETE https://api.anthropic.com/v1/organizations/external_storage/estrg_01SDCCSbTxrXDpWc1phhtcfK \
    -H "authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
    -H "anthropic-version: 2026-10-21" \
    -H "anthropic-beta: efs-2026-10-01"
  ```
</CodeGroup>

#### 移除 Anthropic 的存取權

若要移除 Anthropic 的存取權，請使用您建立儲存貯體 IAM 角色時所用的工具移除這些角色。移除 Anthropic 的存取權後，密封的安全資料會保留在您的儲存貯體中，直到您刪除它為止。在存放逐字記錄和 Safety Cases 的儲存貯體中，生命週期規則會持續讓這些檔案過期，直到您變更這些規則為止。

<Tabs>
  <Tab title="CloudFormation">
    刪除您儲存貯體的堆疊。該堆疊的名稱位於您的部署命令中：`anthropic-storage-<RoleDigest>`，或者對於具有固定角色名稱的設定，則為 `anthropic-storage-<organization ID>`。刪除堆疊會保留您的儲存貯體及其金鑰。
  </Tab>

  <Tab title="Terraform">
    請只移除您儲存貯體的角色及其政策，以便保留您的資料。在存放您儲存貯體 Terraform 檔案的資料夾中，使用您在設定時使用的區域和值，執行該 Terraform 檔案標頭中的移除命令。

    您會看到關於 `-target` 的警告。確認計畫列出的每個資源都是 `aws_iam_role` 或 `aws_iam_role_policy`，然後輸入 `yes`。之後的套用會再次建立這些角色。

    不帶 `-target` 的 `terraform destroy` 會失敗且不會刪除任何資源，因為金鑰、儲存貯體、其設定及其儲存貯體政策都標記為 `prevent_destroy`。
  </Tab>

  <Tab title="Your own tooling">
    刪除該儲存貯體的 IAM 角色。
  </Tab>
</Tabs>

<Warning>
  角色移除後，在它們恢復之前，請勿再次為工作區選擇您的儲存貯體。在 Claude Platform on AWS 上，或者如果您的角色具有固定名稱，Anthropic 不會在儲存之前檢查處於 **Draining** 的儲存貯體，因此即使 Anthropic 無法寫入您的儲存貯體，儲存仍可能成功。如果您使用的是 CloudFormation，再次部署範本並不會恢復 Anthropic 的存取權，因此請在選擇您的儲存貯體之前聯絡您的 Anthropic 客戶團隊。
</Warning>

</Where>

</Where>

<Where bucket="gcs" label="Google Cloud Storage">

請在移至新的儲存貯體之前先與您的 Anthropic 客戶團隊討論，因為 [Anthropic 會限制儲存貯體的數量](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-use-your-bucket-in-a-workspace)。

請參閱[如何停止使用您的儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-stop-using-your-bucket)。

</Where>

<Where bucket="s3" label="Amazon S3">

## 刪除儲存目的地

若要結束 Anthropic 對顯示為 **Draining** 之儲存貯體的使用，請刪除其儲存目的地。在 Claude Platform on AWS 上，一旦有工作區使用過某個儲存目的地，您就無法刪除它。在 Claude Platform 上，只有在 Anthropic 的記錄顯示您的組織僅將 Claude 用於內部工具時，您才能刪除 Amazon S3 儲存貯體的儲存目的地。如果您無法刪除它，請在移除 Anthropic 的存取權之前先與您的 Anthropic 客戶團隊討論。刪除作業無法復原。

<Where cloud="claude" label="Claude Platform">

在刪除之前，請執行下列事項：

* **等到 `slab/` 和 `media/` 清空為止**，包括儲存貯體最上層以及 `safeguards-data/` 下的這些前綴。在最後送往該處的資料的[保留期限](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/customer-owned-storage#retention-period)結束幾天後，其中大部分的內容都會自行移除。請勿在那之前刪除任何內容，否則您會遺失資料，而 Anthropic 不會警告您。如果在那之後[仍有物件留存](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#what-removes-data)，請在不指定版本 ID 的情況下刪除它們。舊版本和刪除標記也算在內，因此請等待生命週期規則清除它們，也就是在每次刪除後至少 3 天。
* **保留 Anthropic 的存取權**，直到刪除完成為止，因為 Anthropic 會先檢查該儲存貯體。

<Warning>
  刪除儲存目的地不會從您的儲存貯體中移除任何內容。逐字記錄、Safety Cases 和您團隊的回應可能仍在其中，任何能存取該儲存貯體及其金鑰的人都可以讀取它們。在任何人再次將該儲存貯體用於客戶自有儲存空間之前，請先清空該儲存貯體，包括較早的檔案版本。
</Warning>

<Where method="console" label="Claude Console">

在[資料保留](https://platform.claude.com/settings/privacy)頁面的 **Storage destinations** 下，於該列的選單中選擇 **Delete**。如果 Claude Console 拒絕刪除，其訊息會說明原因。如果幾分鐘後該列仍未消失，請在其選單中選擇 **Finish deleting**。如果一小時後仍未消失，請聯絡您的 Anthropic 客戶團隊。該列消失後，請依照[停止使用您的儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#stop-using-your-bucket)的最後一個步驟移除 Anthropic 的存取權。之後您就可以刪除您的儲存貯體。

</Where>

<Where method="api" label="Admin API">

請依照[停止使用您的儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#api-stop)的說明送出刪除請求。這需要不只一次呼叫。成功後，請[移除 Anthropic 的存取權](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#api-remove-access)。之後您就可以刪除您的儲存貯體。

</Where>

</Where>

</Where>

## 哪些操作會從您的儲存貯體移除資料

<Where bucket="s3" label="Amazon S3">

<Where cloud="claude" label="Claude Platform">

Anthropic 會透過 [maintenance 角色](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#create-the-roles)刪除 `slab/` 和 `media/` 下的物件。Anthropic 只會在 `slab/` 下某個物件中的所有內容都超過保留期限後，才刪除該物件。

</Where>

如果您的儲存貯體使用 `safeguards-data/`，本節和[什麼會保護您儲存貯體中的物件版本](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#what-protects-object-versions)適用於 `safeguards-data/` 下相同的前綴。

由於您的儲存貯體會保留版本，maintenance 角色的刪除只會新增一個刪除標記，舊版本仍會保留。生命週期規則會在至少 3 天後永久刪除每個舊版本，然後移除刪除標記。

有些物件會留在您的儲存貯體中，因為設定檔案中沒有任何生命週期規則會刪除它們：

* **在 `slab/` 下：** Anthropic 會在每天的物件中尋找要刪除的物件，但只會在有限的天數內進行。到那時它尚未刪除的物件會留在您的儲存貯體中。
* **在 `slab-manifest/` 下：** Anthropic 的軟體從不刪除此前綴下的物件，因此它們會不斷累積。
* **在 `media/` 下：** 中斷或重複的寫入可能會留下 Anthropic 不再追蹤的物件。它們會保持加密狀態。每月一次的清理作業會尋找這些物件，但可能會將它們留在原處。

請保持 Anthropic 寫入的物件原狀；在工作區使用您的儲存貯體期間，這些殘留物件也請保持原狀。如果您無法保留它們，請聯絡您的 Anthropic 客戶團隊，除非您正在[刪除儲存目的地](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#delete-a-storage-destination)。

僅透過設定 [`ReviewExpiryDays`](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#template-reference) 來變更您儲存貯體的生命週期規則。請勿開啟 S3 Object Lock，也請勿新增讓物件過期或封存物件的生命週期規則。如果您這麼做，您的儲存貯體將無法通過 [**Test setup**](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#test-the-setup) 和 [Anthropic 的每日檢查](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#bucket-health)。

### 什麼會保護您儲存貯體中的物件版本

只有生命週期規則能永久刪除 `slab/` 下的物件版本。只要版本控制保持開啟，且儲存貯體政策保留其 `NobodyHardDeletesSlabVersions` 陳述式，此情況就會成立。該陳述式對每個人員和角色（包括 Anthropic 的角色）拒絕 `slab/` 下的 `s3:DeleteObjectVersion`。

Anthropic 的角色無法變更儲存貯體政策、版本控制或生命週期規則。

儲存貯體政策中沒有針對其他前綴、類似 `NobodyHardDeletesSlabVersions` 的陳述式。media-erasure 角色可以永久刪除 `media/` 下的物件版本。transcripts 和 review 角色可以永久刪除逐字記錄、Safety Cases、摘要和 Safety Notices，但無法刪除您團隊的回應。

</Where>

<Where bucket="gcs" label="Google Cloud Storage">

您儲存貯體本身的生命週期規則會在每個密封的安全資料物件存在滿 28 天後將其刪除。請勿變更這些規則。

</Where>

<Where bucket="s3" label="Amazon S3">

## AWS CloudTrail 中 Anthropic 的呼叫

每次 Anthropic 擔任您的角色之一時，AWS CloudTrail 都會在您的帳戶中記錄該呼叫。您可以在 CloudTrail **Event history** 中找到這些記錄：

* **查看位置：** 請查看 `us-east-2`。**Event history** 一次顯示一個 AWS 區域，且無需任何設定即會將這些記錄保留 90 天。
* **記錄顯示的內容：** 每筆記錄都帶有一個指明工作類型的來源身分，該工作階段中之後的每個呼叫也都帶有它。
* **Event history 未包含的內容：** **Event history** 不會顯示物件的讀取、寫入和刪除，這些屬於 Amazon S3 資料事件。若要讓 CloudTrail 記錄它們，請為您的儲存貯體開啟資料事件記錄。AWS 會對該記錄收費。

### 來自 Test setup 和每日檢查的呼叫

**Test setup** 和[每日檢查](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage-manage#bucket-health)會發出缺少外部 ID 或來源身分，或其值錯誤的請求。您的角色必須拒絕這些請求，因此這些拒絕是預期中的情況。如果角色拒絕了帶有您的外部 ID 和角色所接受之來源身分的請求，該拒絕就不是預期中的情況。這可能表示[有 AWS 組織政策阻擋 Anthropic](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#if-an-aws-organization-policy-blocks-anthropic)。

</Where>

<Where method="api" label="Admin API">

## 疑難排解

<AccordionGroup>
  <Accordion title="每個設定請求都傳回錯誤，或表示 inference_data_privacy 不是有效欄位">
    在您的組織[取得 Enterprise Frontier Safeguards 的存取權](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/setup-console#get-access)之前，設定 External Storage 的請求都會傳回錯誤。未傳送 beta 標頭時，這些請求也會傳回錯誤。使用 OAuth bearer 權杖時，如果該權杖缺少 `org:admin` 範圍，這些請求也會傳回錯誤。沒有標頭時，附加和分離請求會傳回另一種錯誤，表示 `inference_data_privacy` 不是有效欄位。如果在已具備存取權且已加上標頭的情況下發生這種情況，請聯絡您的 Anthropic 客戶團隊。
  </Accordion>

  <Accordion title="啟用請求傳回失敗的檢查">
    如果某項檢查失敗，請求會傳回 400 錯誤，且 `error.details.error_code` 設為 `storage_verification_failed`。`error.details.failed_checks` 會將每個問題列為一個包含 `check`、`role` 和 `message` 的物件。請修正 `failed_checks` 所列出的每個問題，然後再次呼叫啟用。`already_registered` 檢查有其專屬的修正方式，將在本項目後文說明。

    如果第一個 `message` 以 “Anthropic could not assume the verify role” 開頭，請依序檢查下列事項：

    1. 查看您 IAM 角色的名稱。角色具有固定名稱（例如 `anthropic-efs-ingest`）的新儲存貯體無法通過此檢查。對於此類儲存貯體，請刪除此 External Storage，[註冊新的儲存貯體名稱](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-register)，並使用[取得您的設定檔案](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage?method=api#get-the-setup-file)中的檔案。
    2. 否則，請確認您是使用[取得您的設定檔案](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage?method=api#get-the-setup-file)中的檔案建立設定。
    3. 檢查是否[有 AWS 組織政策封鎖了 Anthropic](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#if-an-aws-organization-policy-blocks-anthropic)。

    如果 `failed_checks` 只包含一個 `check` 設為 `already_registered` 的物件，表示另一個 Anthropic 組織已使用此設定的一部分，或者此儲存貯體名稱已在不同的 AWS 帳戶中使用。已刪除組織的 External Storage 仍可能算作其中一種使用。

    如果另一個組織已使用此 AWS 帳戶，您可以保留該帳戶。請先確認您已為此儲存貯體部署[取得您的設定檔案](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage?method=api#get-the-setup-file)中的檔案，然後再次呼叫啟用。

    如果檢查仍然失敗，或者沒有其他組織使用過此 AWS 帳戶，請使用新的儲存貯體名稱，並搭配其專屬的金鑰和角色，然後[註冊新的儲存貯體](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-register)。如果新的儲存貯體以相同方式失敗，請告知您的 Anthropic 客戶團隊。

    [附加請求](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-attach)也可能因 `already_registered` 檢查而失敗。如果 `safeguards_storage` 的檢查失敗，修正方式相同。如果 `transcripts_storage` 的檢查失敗，請聯絡您的 Anthropic 客戶團隊。如果您的角色具有固定名稱，附加時的 `already_registered` 失敗也可能表示另一個組織已使用此 AWS 帳戶。

    如果啟用請求或[附加請求](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#api-attach)傳回 503 錯誤且沒有 `error.details.error_code`，表示 Anthropic 無法執行其檢查，請在幾分鐘後再試一次。如果此情況持續發生，請告知您的 Anthropic 客戶團隊。
  </Accordion>

  <Accordion title="附加請求傳回與 Anthropic 核准相關的錯誤">
    Anthropic 可以為您的整個組織或所選的工作區核准客戶自有儲存空間。此請求可能傳回兩個與該核准相關的錯誤，且在這兩種情況下都不會有任何變更。註冊您的儲存貯體和啟用它也可能傳回相同的兩個代碼。這些步驟不涉及任何工作區，因此訊息指的是您組織的核准，而非某個工作區的核准。

    | 您收到的回應 | 代表的意義 | 您應採取的行動 |
    | ----- | ----- | ----- |
    | 400 錯誤，且 `error.details.error_code` 設為 `grant_required` | Anthropic 的核准不涵蓋此工作區。訊息會說明該工作區未獲核准使用 External Storage，並請您聯絡您的 Anthropic 客戶團隊。 | 請您的 Anthropic 客戶團隊核准該工作區，然後再次送出請求。 |
    | 503 錯誤，且 `error.details.error_code` 設為 `authorization_check_unavailable`，並帶有 `Retry-After` 標頭 | Anthropic 當下無法檢查核准狀態。 | 等待 `Retry-After` 標頭中的秒數，然後再次送出相同的請求。 |

    在您聯絡您的 Anthropic 客戶團隊之前，請確認組織管理員已[接受 EFS 和 Enterprise Data Controls 的條款](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/setup-console#get-access)。新的核准可能需要一小段時間才會傳達到 API，因此在您取得核准後立即送出的請求，仍可能傳回 `grant_required`。請再次送出，如果此情況持續發生，請聯絡您的 Anthropic 客戶團隊。

    附加請求也可能傳回 `approval_required`。若要取得 Anthropic 關閉 Anthropic Human Review 的核准，請參閱[在 Claude Platform 上設定 Enterprise Frontier Safeguards](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/setup-console#get-access)。
  </Accordion>

  <Accordion title="附加請求拒絕 transcripts_storage 中的儲存貯體">
    請求會傳回 400 錯誤。失敗的檢查不會變更任何內容，因此同一個請求中的 `safeguards_storage` 也不會被附加。應採取的行動取決於錯誤：

    * 如果 `error.details.error_code` 為 `storage_verification_failed`，且 `error.details.failed_checks` 中有一個 `check` 為 `transcripts_support` 的物件，再次送出請求並無幫助。該物件的 `message` 會說明原因。[客戶自有儲存空間的疑難排解](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#troubleshooting)說明了應採取的行動。
    * 如果 `check` 為 `already_registered`，或錯誤表示目前還無法為逐字記錄附加儲存空間，請聯絡您的 Anthropic 客戶團隊。
    * 若為任何其他檢查，請依照其 `message` 所述進行修正，然後再次送出請求。

    在上述每種情況下，您都可以送出不含 `transcripts_storage` 的相同請求。如果 Anthropic 接受該請求，則只會附加 `safeguards_storage`。如果不含 `transcripts_storage` 的請求傳回 `transcripts_storage_required`，請使用可以接收逐字記錄和 Safety Cases 的儲存貯體，或聯絡您的 Anthropic 客戶團隊。
  </Accordion>

  <Accordion title="您儲存貯體的預設加密金鑰已變更">
    如果您儲存貯體的預設加密金鑰在您啟用該儲存貯體後已變更，且還沒有任何工作區使用該儲存貯體，Anthropic 會拒絕附加，因為它會在此時再次檢查該儲存貯體。若要搭配您以自有工具建立的 IAM 角色使用另一把金鑰，請依照下列步驟操作：

    1. 刪除此 External Storage。
    2. 允許除 `media-erasure` 以外的每個角色使用新金鑰，包括 `transcripts` 和 `review` 角色的寫入條件中指定該金鑰之處。
    3. 在新金鑰的政策中，如同您設定檔案中的金鑰政策所做的，允許 Amazon S3 呼叫 `kms:GenerateDataKey`，以便 S3 Inventory 能夠傳送其每日報告。
    4. 將您儲存貯體的預設加密設為新金鑰，並以其金鑰 ARN 指定。該金鑰必須符合[建立您的儲存貯體及其 KMS 金鑰](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage#create-the-bucket)中 **Your own tooling** 分頁所列的儲存貯體金鑰要求。
    5. 再次註冊您的儲存貯體並啟用它。

    Anthropic 的 CloudFormation 範本和 Terraform 檔案會為單一金鑰設定角色，且沒有受支援的方式可改用另一把金鑰。對於使用固定角色名稱（例如 `anthropic-efs-ingest`）的設定，請勿再次註冊相同的儲存貯體。請使用[取得您的設定檔案](https://platform.claude.com/docs/zh-TW/manage-claude/enterprise-frontier-safeguards/external-storage?method=api#get-the-setup-file)中的檔案建立新的儲存貯體。
  </Accordion>

  <Accordion title="工作區請求只有部分變更已儲存">
    如果回應表示請求的部分變更可能已儲存而其他變更未儲存，請再次送出相同的請求。已儲存的變更不會重複套用。

    請勿重新送出傳回 `workspace_created_incomplete` 的建立請求，因為工作區已經存在，第二次建立會產生第二個工作區。請改為依照回應中的訊息操作，該訊息通常會指示您更新 `error.details.workspace_id` 所指定的工作區。在具有 Legacy Zero Data Retention (ZDR) 安排的組織中，如果訊息指示您更新 `inference_data_privacy`，請封存該工作區並重新建立它。
  </Accordion>
</AccordionGroup>

</Where>
