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 ·

apiKeyHelper can come from managed settings, and the client rebuilds when its key is flagged

apiKeyHelper can now be set by organization managed settings and runs in a restricted environment, and Claude Code rebuilds its client when that key is flagged

Group of 2 You'll notice Improvements
JSON All of v2.1.327
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release

Unclear What condition makes the check flag an apiKeyHelper credential.

What

apiKeyHelper is a setting that names your own command for producing the API credential Claude Code signs in with. Two things about it have changed:

  • Claude Code now checks your organization's managed settings, which are policy settings an administrator controls, for apiKeyHelper before anywhere else. When the helper comes from there, it runs from the top folder / with a cleaned-out set of environment variables, which are named values a program reads when it starts, rather than inheriting yours. Claude Code then reports the source of the key as policySettings.
  • When the credential comes from apiKeyHelper and a new check flags it, Claude Code now rebuilds its connection to the API instead of carrying on with the old one. This happens in two places.

Why

An administrator can now make every user's Claude Code get its key from one approved command, and that command runs without the user's own environment. The rebuild looks like a way to pick up a fresh key when the current one is flagged, instead of carrying on with a stale one.

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
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat condition makes the check flag an `apiKeyHelper` credential.
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