{"version":"2.1.326","anchor":"auth-gating-on-a-new-check-org-pin-signing-custom-api-key","canonical_anchor":"auth-gating-on-a-new-check-org-pin-signing-custom-api-key","heading":"Claude Code now explains when your ANTHROPIC_API_KEY is not being used","tier":"notice","area":"Auth","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/auth-gating-on-a-new-check-org-pin-signing-custom-api-key","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Claude Code now explains when your ANTHROPIC_API_KEY is not being used\n\nNew hints say when ANTHROPIC_API_KEY is set but not in use and point you to \/config to change it\n\n**Unclear.** What the new condition is that can make a sign-in count as not valid is not known.\n\n**What**\n\n`ANTHROPIC_API_KEY` is an environment variable holding an API key, a named value you set in your shell before starting Claude Code. Claude Code now shows hints about it:\n\n- \"ANTHROPIC_API_KEY is set but not in use \u00b7 \/config to use it\"\n\n- turn off \"Use custom API key\" in \/config\n\nThe checks that decide whether your sign-in is valid now also stop early when a new condition fails. Checking a pinned organization now also takes into account which organization signed the credential.\n\n**Why**\n\nIf you set an API key and Claude Code is not using it, the hint tells you why and where to change it in `\/config`.\n\n- Area: Auth\n- Names: `ANTHROPIC_API_KEY`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}