{"version":"2.1.333","anchor":"permission-prompt-tool-wording-and-the-apikeyhelper-policy-s","canonical_anchor":"permission-prompt-tool-wording-and-the-apikeyhelper-policy-s","heading":"apiKeyHelper recognises Mac device-management profiles, and credential helpers get an extra check","tier":"notice","area":"Managed Settings","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/permission-prompt-tool-wording-and-the-apikeyhelper-policy-s","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### apiKeyHelper recognises Mac device-management profiles, and credential helpers get an extra check\n\nThe check on whether apiKeyHelper was set by an administrator now covers Mac device-management profiles, and credential helper commands face a new check\n\n**What**\n\n`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:\n\n- 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.\n\n- It also covers the `managed-settings.d` drop-in folder, including a `managed-settings.d` link that leads to no folder.\n\n- The result is remembered for the current device-management state and judged again when that state changes.\n\n- 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.\n\n- 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`.\n\n- Wording that said managed settings \"overrides them\" now says it \"takes priority\".\n\nSeparately, `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.\n\nThe message shown when a permission is denied now says \"the configured --permission-prompt-tool\" and no longer adds \"(a tool_name+input wire)\".\n\n**Why**\n\nOn 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.\n\n- Area: Managed Settings\n- Names: `apiKeyHelper`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}