anthropics / anthropics/claude-code-action

docs: Clarify authentication options for cloud providers (Bedrock, Vertex AI, Foundry), fix broken documentation links

Open
#768 0 comments 2 reactions 0 assignees View on GitHub
area:permissions documentation enhancement p2
Dominant language
TypeScript
Stars
8.9k
Forks
2.1k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

### Problem

The current GitHub Action supports Microsoft Foundry but the documentation suggests OIDC is the only authentication method. However, Azure Foundry also supports API key authentication (`ANTHROPIC_FOUNDRY_API_KEY`), which is simpler to set up and doesn't require Azure login.

Additionally:
- The Microsoft Foundry documentation link is broken (points to old docs.anthropic.com URL)
- The cloud providers documentation incorrectly states that Bedrock, Vertex, and Foundry use "OIDC authentication exclusively" when all three support static credential options

### Proposed Changes

1. Explicitly pass `ANTHROPIC_FOUNDRY_API_KEY` environment variable in action.yml (following the pattern used for AWS and Vertex AI credentials)
2. Fix broken documentation link to point to https://code.claude.com/docs/en/microsoft-foundry
3. Update cloud-providers.md to accurately document all supported authentication methods for each provider

### Expected Outcome

Users should know they can authenticate with Microsoft Foundry (or via other clouds that Claude supports) using a simple API key without needing to set up OIDC.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.