Authenticate to the Claude API without static keys

Workload Identity Federation swaps long-lived API keys for short-lived tokens from your own identity provider.

Kontotyp
API
Teilen

You can now authenticate workloads to the Claude API with short-lived OIDC tokens from the identity provider you already run, so there's no long-lived API key to store, rotate, or leak. AWS IAM, Google Cloud, GitHub Actions, Kubernetes, Microsoft Entra ID, Okta, and SPIFFE all work.

WIF covers all Claude API endpoints, including accessing endpoints through SDKs and Claude Code.

Set up issuers and federation rules in the Claude Console, and the SDKs handle token exchange and refresh for you.

Frühere Updates

30. Apr. 2026
28. Apr. 2026
23. Apr. 2026