Create External Key
Changed onCreate an external key config owned by the caller's organization.
post/v1/organizations/external_keys
Request
- Base URLhttps://api.anthropic.com
- Authnone declared
Headers
anthropic-versionstring
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"
},
"user_profile_id": "uprof_01SDCCSbTxrXDpWc1phhtcfK"
}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 new optional request property
- 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 - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info