Search the documentation
24 pages for apikeyhelper.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…ons authenticated by `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` are blocked at startup; cloud provider sessions aren't affected | `forceLoginMethod`, `forceLoginOrgUUID`…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…rough files in the config directory, such as OAuth credentials or an `apiKeyHelper` in your user `settings.json`, copy those files into the temp directory first, or set `ANTHROPIC_API_KEY` in `env` in…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…escript theme={null} type ApiKeySource = | "ANTHROPIC_API_KEY" | "apiKeyHelper" | "/login managed key" | "none" | "user" | "project" | "org" | "temporary" | "oauth"; ``` Claude Code…
Authentication
Claude Code CLI · in the page
authentication
…full behavior. * **`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper`**: blocked at startup, since organization membership can't be verified for an environment credential * **Cloud provi…
Claude Code changelog
Claude Code CLI · in the page
changelog
…ry (`CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY`) never running when `apiKeyHelper` is the only credential * Fixed `claude logs` leaving mouse tracking, bracketed paste and the alternate screen swit…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…sion's only credential. `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_API_KEY`, `apiKeyHelper`, [Anthropic profiles](/docs/en/authentication#anthropic-profiles-and-federation-credentials), and any earlier claude…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…h as proxy and base-URL variables * shell-execution settings such as `apiKeyHelper` and `statusLine` * the sandbox binary settings `sandbox.bwrapPath`, `sandbox.socatPath`, and `sandbox.ripgrep` * man…
Environment variables
Claude Code CLI · in the page
env-vars
…n milliseconds at which credentials should be refreshed (when using [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper))…
Error reference
Claude Code CLI · in the page
errors
…| | `Your apiKeyHelper script is failing`…
Speed up responses with fast mode
Claude Code CLI · in the page
fast-mode
…-gateway-connect#set-the-base-url-and-credential) or produced by an [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper), sends the check with that key, and the rejected request is reported as a…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…d in the [Claude Console](https://platform.claude.com), or supply an `apiKeyHelper` in the `--settings` JSON. Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry continue to read thei…
Other LLM gateways
Claude Code CLI · in the page
llm-gateway
…riable](/docs/en/llm-gateway-connect#set-the-credential-variable) or `apiKeyHelper` is active, a developer's claude.ai subscription isn't used: the credential replaces the subscription login for that…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…aged settings](/docs/en/managed-settings), device management, or an [`apiKeyHelper`](#rotate-credentials-with-apikeyhelper), so Claude Code picks them up at startup with nothing for you to set. To che…
Gateway protocol reference
Claude Code CLI · in the page
llm-gateway-protocol
…arer token, when set * Otherwise the resolved API key, including an [`apiKeyHelper`](/docs/en/llm-gateway-connect#rotate-credentials-with-apikeyhelper) value, in the `x-api-key` header This differs f…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…| | `apiKeyHelper`, or a credential in `ANTHROPIC_AUTH_TOKEN` or `ANTHROPIC_API_KEY`…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…| Credential helpers such as `apiKeyHelper`, login pins such as `forceLoginOrgUUID`, `modelPicker`, `permissions.defaultMode` | | `env`…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…n `/login`, when: * `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` is active * A third-party provider such as Amazon Bedrock or Google Cloud's Agent Platform is active * `ANTHROPIC_PR…
Model configuration
Claude Code CLI · in the page
model-config
…s#platform-availability). Fleets that generate keys only through an [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper) script should deliver the allowlist through MDM or managed settings files…
Configure permissions
Claude Code CLI · in the page
permissions
…(/docs/en/settings-reference#env) block and helper commands such as [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper), and a project skill's [hooks](/docs/en/hooks#hooks-in-skills-and-agents)…
Automate work with routines
Claude Code CLI · in the page
routines
…NTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` is set in your shell, or `apiKeyHelper` is set in `settings.json`, remove it first, since these take precedence over a claude.ai login. A profile or federat…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…t pairs routing variables with a winner-only credential key, such as `apiKeyHelper` or `otelHeadersHelper`, contributes those routing variables only when it wins the slot. ### Fetch and caching behav…
Claude Code settings
Claude Code CLI · in the page
settings
…t. This includes `permissions`, `hooks`, and credential helpers like `apiKeyHelper`. The reload covers user, project, local, and managed settings, and the [`ConfigChange` hook](/docs/en/hooks#configch…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| Model and responses | Any file | | [`apiKeyHelper`](#apikeyhelper) | Generate the [API credential](/doc…
Week 20 · May 11–15, 2026
Claude Code CLI · in the page
whats-new/2026-w20
…erences are now disabled when <code>ANTHROPIC\_API\_KEY</code>, <code>apiKeyHelper</code>, or <code>ANTHROPIC\_AUTH\_TOKEN</code> is set, even alongside a Claude.ai login; unset the API key to use the…