allowedProviders リストによって起動時にセッションが拒否される問題を修正した英語原文を表示英語原文を閉じる
allowedProviders list that another login on the same machine had storedstring[]記述場所管理者設定のみマシンが Anthropic API、Amazon Bedrock、LLM ゲートウェイなど、どのサービス経由で Claude に到達できるかを列挙する。リストされていないプロバイダーでのセッションは、起動時、ログイン時、および次に API に接続する時点で拒否されるため、セッション途中で未掲載のプロバイダーへ切り替えることも拒否される。拒否メッセージは、そのプロバイダーを選択した経緯と続行手順を示す。Claude Code v2.1.285 以降が必要。
既定値未設定であるため、任意のプロバイダーを利用できる。
{
"allowedProviders": ["anthropic", "bedrock"]
}List the services a machine may reach Claude through, such as the Anthropic API, Amazon Bedrock, or an LLM gateway. A session on a provider that isn't listed is refused at startup, at login, and when it next contacts the API, so switching to an unlisted provider mid-session is refused too. The refusal message names what selected the provider and the steps to continue. Requires Claude Code v2.1.285 or later.
allowedProviders リストによって起動時にセッションが拒否される問題を修正したallowedProviders list that another login on the same machine had storedallowedProviders を 'gateway' で提供する Claude アプリゲートウェイにおいて、ユーザー設定でそのゲートウェイ名を指定しているノート PC が締め出されてしまう問題を修正したallowedProviders with "gateway" locking out laptops that name that gateway in user settingsallowedProviders を追加したallowedProviders managed setting to limit which API providers a machine may use (Anthropic API, a custom endpoint, Bedrock, Mantle, Vertex AI, Foundry, Claude Platform on AWS, or a Cloud gateway)変更後
組織の管理者がマシン単位で利用できる API プロバイダーを制限できるようになり、許可されていないプロバイダーへの切り替えはセッション開始時やログイン時、実行中も拒否される。これにより、企業のポリシーに沿った接続先だけを使うよう環境を確実に統制できる。