yaaif_api_key_bind_deployment
Bind an API key credential to a deployment's secret env (YAAIF_MCP_PLATFORM_API_KEY) and optionally redeploy to apply it, avoiding direct platform S2S keys in MCP pods.
Instructions
Bind an API key Credentials record to an MCP deployment secret_env as YAAIF_MCP_PLATFORM_API_KEY (process fallback for ambient/desktop). Optionally redeploy so the pod picks up the env. Prefer this over putting platform S2S into MCP pods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_name | No | ||
| redeploy | No | ||
| credential_id | Yes | ||
| deployment_id | Yes |