Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

34 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 unless one of those credentials, or an API key saved… 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 …, and sets `CLAUDE_PROJECT_DIR` to it. Hooks, helper scripts such as `apiKeyHelper`, and stdio MCP servers start with this directory as their working directory. `CLAUDE.md` files and `.claude/rules/`… Authentication Claude Code CLI · in the page authentication …full behavior. * **`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper`**: blocked at startup. Under `forceLoginOrgUUID`, organization membership can't be verified for an environment crede… Claude Code changelog Claude Code CLI · in the page changelog …session, which could point to the wrong organization when a key from `apiKeyHelper` was in use * Fixed sessions on a gateway-specific model name behind a custom `ANTHROPIC_BASE_URL` ending with "Promp… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …t authenticates with `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` [exits at startup](/docs/en/errors.md#administrator-policy-requires-a-cloud-gateway-sign-in). Once a developer has… 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` * San… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …PIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN`, their settings configure an [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper), or an API key from an earlier Claude Console login is still saved | Have… 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 …| | `Invalid API key` | [Authentication](#invalid-api-key) | | `Your apiKeyHelper script is failing` | [Authentication](#your-apikeyhelper-script-is-failing) | | `Invalid auth token · Fix external au… 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… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …other custom `ANTHROPIC_BASE_URL` | No | | `ANTHROPIC_AUTH_TOKEN` or `apiKeyHelper`, on a computer with no Claude Enterprise sign-in | No | | A Claude Console API key or [federation credentials](/docs… Interactive mode Claude Code CLI · in the page interactive-mode …pps gateway](/docs/en/claude-apps-gateway), or get your key from an [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper). Even with a direct connection, these sessions don't list it: * A sessio… Other LLM gateways Claude Code CLI · in the page llm-gateway …ble](/docs/en/llm-gateway-connect.md#set-the-credential-variable) or `apiKeyHelper` is active, requests carry that credential in place of a developer's claude.ai subscription login, and the subscripti… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …d settings](/docs/en/managed-settings.md), 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… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …e main model, or the default Haiku model when `ANTHROPIC_API_KEY` or `apiKeyHelper` supplies an Anthropic Console key and `ANTHROPIC_AUTH_TOKEN` is unset | The main model | For the features each conn… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …requests to the gateway instead of `api.anthropic.com` | Always | | `apiKeyHelper`, or a credential in `ANTHROPIC_AUTH_TOKEN` or `ANTHROPIC_API_KEY` | Authenticates each request to the gateway. The h… Deploy managed settings Claude Code CLI · in the page managed-settings …e highest-ranked source leaves it unset | Credential helpers such as `apiKeyHelper`, login pins such as `forceLoginOrgUUID`, `modelPicker`, `permissions.defaultMode` | | `env` | Merges per variable ac… 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 …icate with API keys, whether configured directly or generated by an [`apiKeyHelper`](/docs/en/settings-reference#apikeyhelper) script, deliver the allowlist through MDM or managed settings files. * Th… Monitoring Claude Code CLI · in the page monitoring-usage …exported as `"[REDACTED]"` * Every other string, such as `model`, `apiKeyHelper`, every `env` value, every URL, and every command, is exported as `"[REDACTED]"` * The entry names of maps, such as… 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.md#hooks-in-skills-and-agen… Plugin loading reference Claude Code CLI · in the page plugins/loading …ssion where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential in place of that sign-in * A session that doesn't [fetch feature flags from Anthropic… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …ANTHROPIC_API_KEY is set, so this session is using API-key auth`. An `apiKeyHelper` setting and `ANTHROPIC_AUTH_TOKEN` are named the same way. Run `claude auth login` and choose the claude.ai option.… Automate work with scheduled tasks 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 the sandboxed Bash tool Claude Code CLI · in the page sandboxing …mands such as your [status line](/docs/en/statusline.md) command and `apiKeyHelper` run with your full access Some shell commands also run outside the sandbox, depending on your settings: * **Comman… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …outing variables with a selected-source-only credential key, such as `apiKeyHelper` or `otelHeadersHelper`, contributes those routing variables only when it wins the slot. * **`allowedProviders`**: a… 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… All settings Claude Code CLI · in the page settings-reference …hinking) off for every session | Model and responses | Any file | | [`apiKeyHelper`](#apikeyhelper) | Generate the [API credential](/docs/en/authentication.md#credential-management) with your own comm… Extend Claude with skills Claude Code CLI · in the page skills …r one where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential * A session that doesn't fetch feature flags, such as one on Amazon Bedrock or one wh… Voice dictation Claude Code CLI · in the page voice-dictation …ne, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a [third-party provider](#requirements) is in use, it takes precedence over a claude.ai sign-in, so remo… Week 20 · May 11–15, 2026 Claude Code CLI · in the page whats-new/2026-w20 …notification preferences are now disabled when `ANTHROPIC_API_KEY`, `apiKeyHelper`, or `ANTHROPIC_AUTH_TOKEN` is set, even alongside a claude.ai login; unset the API key to use these featuresMCP stdi… Connect Claude Code to Claude for Government Claude Documentation · in the page government/deploy-claude-code/configure …`ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` in the environment, an `apiKeyHelper` in the user's settings, or a saved Claude Console key | Remove the variable or the `apiKeyHelper` entry, or have the…
Feedback