Workload identity federation across multiple workspaces
Set ANTHROPIC_WORKSPACE_ID when your federation rule covers more than one workspace so the token exchange picks the right one.
# Federation rule scoped to a single workspace — no extra env needed
claude
# Federation rule scoped to multiple workspaces — pick the target
ANTHROPIC_WORKSPACE_ID=ws_01abcd... claude