Home / Servers / OpenAI API / create_vault_credential
Create a vault credential
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Create a vault credential Creates a vault credential. Secret values are write-only and are never returned. See vaults. [POST /vaults/{vault_id}/credentials]
Name on the gateway: openai_api__create_vault_credential · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
vault_id required | string | The ID of the vault. |
name required | string | The name is trimmed before storage. It must contain 1 to 256 UTF-8 bytes after… |
auth required | object | The authentication method and write-only secret values to store. |
metadata | object | Up to 16 string key-value pairs, with keys up to 64 and values up to 512… |
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__create_vault_credential",
"arguments": {
"vault_id": "…",
"name": "…",
"auth": "…"
}
}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 create a vault credential tool with vault_id set to ….