Update External Key
Changed onPartially update an external key config. Omitted fields are left unchanged.
display_name is always editable. geo and provider_config cannot be changed once any workspace references this config, because previously encrypted data requires the original key identity to decrypt.
Request
- Base URLhttps://api.anthropic.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the External Key.
Headers
The version of the Claude API you want to use.
Read more about versioning and our version history here.
Request body
Example request
{
"provider_config": {
"kms_arn": "arn:aws:kms:us-east-1:111122223333:key/abcd1234-5678-90ab-cdef-000011112222",
"region": "us-east-1",
"role_arn": "arn:aws:iam::111122223333:role/anthropic-cmek"
}
}Response
Successful Response
Example response
{
"created_at": "2024-10-30T23:58:27.427722Z",
"display_name": "prod-us-key",
"geo": "us",
"id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"provider_config": {
"kms_arn": "arn:aws:kms:us-east-1:111122223333:key/abcd1234-5678-90ab-cdef-000011112222",
"region": "us-east-1",
"role_arn": "arn:aws:iam::111122223333:role/anthropic-cmek"
},
"updated_at": "2024-10-30T23:58:27.427722Z",
"user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
}Changes
- breaking
the
response's property type changed from no type toobjectfor status - info
added the optional property
/to the response with the status - info
removed discriminator from
response property for the response status - info
removed from the
response propertyoneOflist for the response status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- breaking
the
response's property type changed from no type toobjectfor status - info
added the optional property
/to the response with the status - info
removed discriminator from
response property for the response status - info
removed from the
response propertyoneOflist for the response status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking