Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

cmek-claude-platform-on-aws changedmanage-claude/cmek-claude-platform-on-aws

Nearest release: v2.1.326, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+35added
Lines−13removed
From line 24 where the diff opens
First seen 16 Oct 2026 this site's first read of the page
Recorded edits6to this page, all time

## Add another workspace later

The whole hunk

from line 24, old and new numbered
/
lines
from line 24
2424 
2525 To scope them, see [IAM actions](https://platform.claude.com/docs/en/api/claude-platform-on-aws-iam-actions#encryption-keys).
2626 
27* You have a workspace with no key attached, ideally a new one, because [existing data stays under Anthropic’s key](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). The key policy lists its compartment ID.
27* You have a workspace with no key attached, ideally a new one, because [existing data stays under Anthropic’s key](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). You need its compartment ID for the sample key policy.
2828 
2929In the Claude Console, open the [Data retention](https://platform.claude.com/settings/privacy) page and select the workspace from the dropdown menu at the top. Copy the **Compartment ID** under **Encryption key**. The [Get Workspace](https://platform.claude.com/docs/en/api/organization/workspaces/retrieve) endpoint returns it as `compartment_id`.
3030 
from line 58
5858 "Condition": {
5959 "StringEquals": {
6060 "kms:EncryptionContext:anthropic:compartment_uuid": ["<COMPARTMENT_UUID>"]
61 },
62 "ArnLike": {
63 "aws:SourceArn": "arn:aws:aws-external-anthropic:*:<AWS_ACCOUNT_ID>:workspace/*"
6164 }
6265 }
6366 },
from line 71
6871 "Service": "aws-external-anthropic.amazonaws.com"
6972 },
7073 "Action": "kms:DescribeKey",
71 "Resource": "*"
74 "Resource": "*",
75 "Condition": {
76 "ArnLike": {
77 "aws:SourceArn": "arn:aws:aws-external-anthropic:*:<AWS_ACCOUNT_ID>:workspace/*"
78 }
79 }
7280 }
7381 ]
7482}
7583```
7684 
77Replace `<AWS_ACCOUNT_ID>` with your [AWS account ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/console-account-id.html) and `<COMPARTMENT_UUID>` with the [compartment ID](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#prerequisites).
85Keep `aws:SourceArn` on both service principal statements. Every organization on Claude Platform on AWS shares this service principal, and the condition limits its access to workspaces in your organization’s AWS account. Don’t add `aws:SourceAccount`, because Anthropic’s calls to your key send only the source ARN.
7886 
79The optional `EncryptionContext` condition limits the key to the workspaces you list. Before you attach the key to another workspace, add that workspace’s compartment ID and [replace the policy on the key](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms-workspaces#replace-the-key-policy). To do without the condition, delete the `Condition` block from the `AllowClaudePlatformOnAWSCrypto` statement. If you add the condition later, list every workspace the key is already attached to.
87The conditions determine which workspaces can use the key. The sample follows the second row:
8088 
81To narrow access further, use the key policy, not IP-based restrictions. Add an `aws:SourceArn` condition to both service principal statements. This one allows every workspace in your AWS account:
89| Workspaces that can use the key | What to do |
90| ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
91| Every workspace in the account | Delete the `StringEquals` entry and keep the `ArnLike` entry. |
92| Only the workspaces you list, for encryption and decryption | List each workspace’s compartment ID in the `StringEquals` entry. |
93| Only the workspaces you list, for every call, `kms:DescribeKey` included | In both statements, replace the `aws:SourceArn` value with a JSON array of full [workspace ARNs](https://platform.claude.com/docs/en/api/claude-platform-on-aws-iam-actions#service-details). The `StringEquals` entry is then optional. |
8294 
83```text wrap
84"ArnLike": {"aws:SourceArn": "arn:aws:aws-external-anthropic:*:<AWS_ACCOUNT_ID>:workspace/*"}
85```
95A full workspace ARN has this form:
8696 
87For specific workspaces, list their full [workspace ARNs](https://platform.claude.com/docs/en/api/claude-platform-on-aws-iam-actions#service-details) instead, in this form:
88 
8997```text wrap
9098arn:aws:aws-external-anthropic:<REGION>:<AWS_ACCOUNT_ID>:workspace/<WORKSPACE_ID>
9199```
92100 
101`<WORKSPACE_ID>` is the [workspace ID](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#obtain-your-workspace-id), which starts with `wrkspc_`, not the compartment ID.
102 
103Replace each `<AWS_ACCOUNT_ID>` with the [ID of the AWS account](https://docs.aws.amazon.com/IAM/latest/UserGuide/console-account-id.html) that hosts your organization, and `<COMPARTMENT_UUID>` with the [compartment ID](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#prerequisites).
104 
105In each list, include every workspace the key is already attached to. Don’t use IP-based restrictions.
106 
93107### Create the key
94108 
95109Create the key in the AWS account that hosts your organization, in the same region as the workspace.
from line 210
196210 Attaching checks the key with one encrypt call and one decrypt call, so a key policy problem shows up here. If you get a KMS access error, see the [causes and fixes](https://platform.claude.com/docs/en/manage-claude/cmek-troubleshooting#claude-platform-on-aws).
197211 </Step>
198212</Steps>
213 
214## Add another workspace later
215 
216If your key policy lists workspaces:
217 
2181. If the workspace doesn’t exist yet, create it without the key. A workspace gets its compartment ID and ARN at creation.
2192. [Edit the key policy](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms-workspaces#replace-the-key-policy). Add the workspace to each list your key policy has: its compartment ID in the `StringEquals` entry and its ARN in each `aws:SourceArn` array.
2203. Attach the key in the last step of [In Claude: add and attach the key](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#register-the-key-with-anthropic).
199221 
Feedback