allowedProviders
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Limit which API providers a machine may use
Anthropic's own wording. Read off All settings, captured 2026-11-21.
In the changelogs
16Releases whose published page names allowedProviders.
-
v2.1.329
claude auth logingains a hidden option to sign in through an organization gatewayclaude auth login --organization-gatewaysigns in through your organization's gateway, and Remote Control is refused under that sign-infound in this entry's text
-
v2.1.329
Organization sign-in can set provider, credential helpers, plugin locks and marketplaces
An organization's admin console settings can now configure the cloud provider, credential helpers, tool locks and plugin marketplaces
found in this entry's text
-
v2.1.329
Managed settings can require an Anthropic sign-in, with clearer messages when requests are blocked
Managed settings can now require an Anthropic sign-in, and blocked requests and failed organization settings fetches explain what went wrong
found in this entry's text
-
v2.1.321
Managed settings that fail to load are read again, with a clearer message
If managed settings cannot be read, Claude Code tries again during the session and says plainly that the settings were not checked
found in this entry's text
-
v2.1.311
Check that blocks
claude gatewayunder provider restrictions was rewrittenThe check that stops
claude gatewaywhen managed settings restrict API providers was rewritten; its message is unchangedfound in this entry's text, named in this entry
-
v2.1.300
Login now checks your organisation before saving new credentials
Signing in now checks the new token against the organisation required by managed settings before saving it, and fails if it does not match
found in this entry's text, named in this entry
-
v2.1.296
Managed settings with
allowedProviderscan now setANTHROPIC_BASE_URLautomaticallyWhen managed settings use
allowedProviders, Claude Code may setANTHROPIC_BASE_URLitself unless the managed settings already set itfound in this entry's text, named in this entry
-
v2.1.285
Admins can limit which API providers Claude Code may use
The new managed setting
allowedProviderslists the API providers allowed, and Claude Code refuses to run on any othernamed in this entry, found in this entry's text
-
v2.1.285
Admins can restrict sign-in providers with a new allowedProviders setting
A new
allowedProvidersmanaged setting can blockclaude auth loginandsetup-tokenwhen the policy disallows Anthropic's own sign-innamed in this entry, found in this entry's text
-
v2.1.285
Clear error when managed policy settings cannot be read
Claude Code has a new error saying it could not read managed policy settings, which may restrict allowed API providers
named in this entry, found in this entry's text
-
v2.1.285
Login screen shows only the sign-in methods your organization allows
The login screen now follows the allowedProviders managed setting, hiding sign-in options your organization does not permit
named in this entry, found in this entry's text
-
v2.1.285
--desktoprejects subcommands, and SDK sign-in checks allowed providersClaude Code refuses --desktop alongside a subcommand, and blocks SDK sign-in when managed settings do not allow the Anthropic API
found in this entry's text
-
v2.1.285
Repeated login requests reuse the sign-in already in progress, and admins can block login
A second login request now joins the sign-in already underway, and the allowedProviders managed setting can block signing in
found in this entry's text
-
v2.1.285
Managed settings docs: allowedProviders is replaced, not merged
The settings description now says allowedProviders, like the other restriction allowlists, is taken whole from the helper and not merged
named in this entry, found in this entry's text
-
v2.1.285
Mistakes in the allowedProviders setting are now reported as errors
Claude Code now reports an error when
allowedProvidersis not a list, holds non-text entries, or names a provider it does not knownamed in this entry, found in this entry's text
-
v2.1.285
Admins can restrict which API providers Claude Code may use
Claude Code can refuse to start with
provider_not_allowedwhen managed settings limit providers withallowedProvidersnamed in this entry, found in this entry's text
First cited
7The earliest release whose published evidence quoted allowedProviders was v2.1.285, 29 Sep 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
1 further span in the ledger name it. The list above is the earliest first and stops at 6.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.