Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

apiKeyHelper recognises Mac device-management profiles, and credential helpers get an extra check

The check on whether apiKeyHelper was set by an administrator now covers Mac device-management profiles, and credential helper commands face a new check

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

What

apiKeyHelper is a setting that runs your own command to produce the API credential. Claude Code checks whether an apiKeyHelper was set by an administrator through managed settings, the settings an organisation controls. That check has changed:

  • It now covers a device-level macOS profile (a plist, the settings format Mac device-management tools use) as well as managed settings files. When the source is that profile, the result is marked as coming from the profile.
  • It also covers the managed-settings.d drop-in folder, including a managed-settings.d link that leads to no folder.
  • The result is remembered for the current device-management state and judged again when that state changes.
  • A new refusal says that device-management settings applied earlier could not be confirmed as an administrator's, and tells you to start a new session.
  • The rejection message now names "this Mac's device-management profile" separately from the managed settings files. Before, it mentioned only managed-settings.json and managed-settings.d.
  • Wording that said managed settings "overrides them" now says it "takes priority".

Separately, apiKeyHelper, awsAuthRefresh, awsCredentialExport and gcpAuthRefresh now go through an extra check before their commands run. It can skip a command in addition to the check that already existed, and its message refers to apiKeyHelper being executed before workspace trust is confirmed.

The message shown when a permission is denied now says "the configured --permission-prompt-tool" and no longer adds "(a tool_name+input wire)".

Why

On a Mac managed by an organisation, an apiKeyHelper delivered through a device-management profile can now be recognised as the administrator's, and the messages say which source was involved. Credential helper commands may now be skipped in more situations, which is worth knowing if a helper you rely on does not run.

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.

Confirmed since Anthropic's documentation has since written up apiKeyHelper, on Manage Claude Code in the terminal from the Enterprise Admin Console. Claude Code doesn't start a session that has `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` on a computer that sets `forceLoginOrgUUID`. If your managed settings set `apiKeyHelper`, remove it from them too. A gateway on you… third-party/claude-desktop/admin-console-claude-code see the edit
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, MCP servers, and `CLAUDE.md` files from the repo and your home directory. Set `ANTHROPIC_API_KEY`, pass an [`apiKeyHelper`](https:… best-practices see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Best practices for Claude Code touched a line naming apiKeyHelper after this was published.

See this entry in the whole of v2.1.333 →

Feedback