{"version":"2.1.247","anchor":"anthropic-profile-selects-the-workload-identity-profile","canonical_anchor":"anthropic-profile-selects-the-workload-identity-profile","heading":"ANTHROPIC_PROFILE selects the workload-identity profile","tier":"use","area":"Auth","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/anthropic-profile-selects-the-workload-identity-profile","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### ANTHROPIC_PROFILE selects the workload-identity profile\n\nSet ANTHROPIC_PROFILE to pick which stored credential profile workload-identity login uses.\n\n**What**\n\nSet `ANTHROPIC_PROFILE` to choose which stored credential profile is used when authenticating through workload identity federation. Without it, the previously active profile is used.\n\n**Details**\n\n- Config resolution now reads the profile name from the environment before falling back to the recorded active profile.\n- Adds an async read-ahead that pulls `active_config` and `configs\/<profile>.json` through the storage backend into a primed-file map before the synchronous readers run.\n- The read-ahead only happens when a storage host is serving; if the backend throws, it logs a warning and the normal file reads proceed.\n\n**Evidence**\n\n`ANTHROPIC_PROFILE`\n\n- Area: Auth\n- Names: `ANTHROPIC_PROFILE`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5"}