Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

A launcher can ask Claude Code to run the managed apiKeyHelper

On Linux, a launcher can ask Claude Code to run the apiKeyHelper from managed settings for an https gateway, under strict conditions

Under the hood Internal Changes
JSON All of v2.1.327
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
AuthArea: what it touches
Internal ChangesKind: in v2.1.327,
Internal ChangesSection of the release
What

apiKeyHelper is a setting that names your own command for producing the API credential. A launcher, the program that starts Claude Code for you, can now ask Claude Code to run the apiKeyHelper from managed settings, which are settings set by an organisation. It does this through two environment variables, named values handed to Claude Code when it starts:

The helper is run only when all of these hold:

  • Claude Code is on Linux.
  • The session is non-interactive, meaning no one is typing into it.
  • The gateway Claude Code talks to uses https.
  • No token or API key is already set.

If any of these fails, Claude Code prints a warning saying why the helper was not run, even though the launcher asked for it.

Why

This gives organisations that send Claude Code through a gateway a new way for the host machine to supply credentials.

Read from
Names in the bundleapiKeyHelper
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Best practices for Claude Code touched a line naming apiKeyHelper after this was published. * [`--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode) skips your hooks, skills, plugins, MCP servers, and `CLAUDE.md` files from the repo and your home directory. It also doesn't use your claude.ai login: auth … best-practices see the edit
Confirmed since Anthropic's documentation has since written up apiKeyHelper, on Sign in through the OS identity broker. * **Provider settings**: the next time a signed-in developer starts Claude Code, your gateway replaces their own provider settings and `apiKeyHelper` third-party/claude-desktop/entra-broker see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up apiKeyHelper, on Sign in through the OS identity broker.

See this entry in the whole of v2.1.327 →

Feedback