Home / Servers / OpenAI API / create_platformworkloadidentityfederationrule
Create Platform workload identity federation rule
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Create Platform workload identity federation rule Bind verified token attributes to an existing project service account. [POST /organization/workload_identity_providers/{workload_identity_provider_id}/federation_rules]
Name on the gateway: openai_api__create_platformworkloadidentityfederationrule · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
workload_identity_provider_id required | string | workload_identity_provider_id parameter |
project_id required | string | |
service_account_id required | string | |
name | string | |
description | string | |
attribute_matchers required | object | |
permissions | object | |
enabled | boolean |
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_platformworkloadidentityfederationrule",
"arguments": {
"workload_identity_provider_id": "…",
"project_id": "…",
"service_account_id": "…",
"attribute_matchers": "…"
}
}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 platform workload identity federation rule tool with workload_identity_provider_id set to ….