Home / Servers / OpenAI API / addanexternalkeyconfigforanorganization
Add an external key config for an organization
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Add an external key config for an organization [POST /organization/external_keys]
Name on the gateway: openai_api__addanexternalkeyconfigforanorganization · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | A friendly name to identify this config |
type required | aws | |
role_arn required | string | The Role ARN that OpenAI will assume to call your KMS |
kms_arn required | string | The Key Management System ARN for the master key you manage |
external_id required | string | The ExternalID that OpenAI will pass in the AssumeRole call for the customer's… |
purpose | ekm | psp_decryption |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "openai_api__addanexternalkeyconfigforanorganization",
"arguments": {
"name": "…",
"type": "…",
"role_arn": "…",
"kms_arn": "…",
"external_id": "…"
}
}Or connect the OpenAI API server directly, which lists 371 tools including this one:
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the add an external key config for an organization tool with name set to ….