In short.
This is a cloud-provider setup guide for GitHub repository maintainers, but it assumes familiarity with Claude Code GitHub Actions and requires access to Claude models on the chosen provider. It explains how to exchange a workflow's OpenID Connect token for short-lived cloud credentials while using a separate GitHub identity for commits and comments. Its most consequential warning concerns public repositories: unauthorized mentions can start credential steps before the action checks write access. Prices, successful operation and provider data-handling guarantees are not established by the supplied page.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete page at [https://code.claude.com/docs/en/github-actions-cloud-providers.md], including prerequisites, GitHub identity choices, all three cloud configurations and workflow examples, repository secrets, the public-repository warning, cost-control advice and troubleshooting. Linked documentation, repositories, FAQs, permission policies and service terms are excluded. Workflow execution, authentication, model availability, generated output, CI behavior and actual costs were not tested or independently verified.
The overview
Identity
The resource is a Claude Code documentation page explaining how to route Claude Code GitHub Actions through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry instead of the default Claude API. The source address is [https://code.claude.com/docs/en/github-actions-cloud-providers.md].
It is a supplementary setup guide. It assumes readers already understand the workflow file and the anthropics/claude-code-action step; it does not provide the full introduction to the underlying action.
Assessment
The guide is useful for teams that already have Claude model access through one of the three cloud providers and want their GitHub workflow to use that account. It brings together provider selection, cloud trust, repository secrets and GitHub identity configuration.
Its practical strength is showing how those pieces connect. It still depends on linked documentation for console-level identity setup, some permission details and the base action's behavior. Successful authentication, task quality and operational reliability have not been assessed.
Users
The intended readers are repository administrators, developers maintaining GitHub Actions and cloud administrators responsible for identity and model access. An organization with an established AWS, Google Cloud or Azure account is the clearest fit.
Beginners need familiarity with workflow YAML, repository secrets and cloud permissions. Experienced developers will find concrete provider inputs and authentication wiring, but must consult the linked references for configuration details that this page does not reproduce.
Capabilities
The page documents three action inputs: use_bedrock for Amazon Bedrock, use_vertex for Google Cloud's Agent Platform and use_foundry for Microsoft Foundry. Each is set to the string true in its corresponding example.
The examples start workflows when @claude appears in supported issue comments, pull request review comments or newly opened issues. The integration uses a GitHub identity to push commits and post comments. The page describes checking the setup by mentioning @claude and looking for a reply on the same issue or pull request.
These are documented capabilities and expected behavior. No workflow was executed, and the page does not establish the quality of any generated code or response.
Using it
Requirements
Setup requires repository admin access, permission to create cloud identity resources and Claude model access on the selected provider. Bedrock cross-region inference profiles require model access in every region of their region group. Google Cloud requires a project with the Agent Platform API enabled; Foundry requires a resource with a Claude deployment.
The workflow needs id-token: write so GitHub can issue an OpenID Connect token. AWS needs an OIDC identity provider and IAM role with the documented invocation permissions. Google Cloud needs Workload Identity Federation, a dedicated service account, the Vertex AI User role and the IAM Credentials, Security Token Service and Agent Platform APIs. Azure needs an Entra application or user-assigned managed identity with a federated credential and a role on the Foundry resource; the page uses Foundry User and points to linked RBAC documentation for another built-in role and custom roles.
A custom GitHub App requires Contents, Issues and Pull requests permissions, each with read and write access. Its App ID and private key become repository secrets. The official Claude GitHub App and GitHub's automatic GITHUB_TOKEN are also documented identity options.
Mechanism
OpenID Connect, or OIDC, lets the cloud provider trust a token issued to a GitHub workflow. The workflow exchanges that token for short-lived cloud credentials, avoiding a stored long-lived cloud credential. The trust configuration must restrict which repository can obtain those credentials.
Cloud authentication and GitHub authentication serve different purposes. Cloud credentials authorize model access; the GitHub identity authorizes repository interactions. Choosing a custom GitHub App still requires storing its private key, so OIDC does not eliminate all persistent secrets.
The provider input directs Claude Code to the chosen cloud service. AWS credentials supply the region, Google authentication supplies the project ID alongside a configured region, and Foundry uses a configured resource name and Azure's default credential chain.
Setup
First choose the GitHub identity: install the official Claude app, create a custom app or use GITHUB_TOKEN. For a custom app, the page specifies disabling webhooks, granting the three repository permissions, generating a private key and installing the app on the repository.
Next configure repository-scoped cloud trust. AWS uses GitHub's OIDC issuer with audience sts.amazonaws.com and an IAM role. Google Cloud uses a Workload Identity Pool with a repository condition and service-account impersonation. Azure uses a federated credential tied to the repository and assigns access on the Foundry resource.
Add the provider's repository secrets and, for a custom app, APP_ID and APP_PRIVATE_KEY. Create a workflow such as .github/workflows/claude.yml with repository checkout, GitHub authentication, cloud authentication and anthropics/claude-code-action. Set the provider input, model and required region or resource values. The supplied examples use a custom app; the page explains the edits for the other GitHub identities.
Example
The Bedrock example runs on ubuntu-latest, checks out the repository with actions/checkout@v6, creates an app token with actions/create-github-app-token@v2 and authenticates using aws-actions/configure-aws-credentials@v4. It then calls anthropics/claude-code-action@v1 with use_bedrock set to true and model us.anthropic.claude-sonnet-4-6.
The example region is us-west-2. The page says to replace it with the intended region and use an inference-profile prefix matching the region group where model access was granted. The AWS_ROLE_TO_ASSUME secret identifies the IAM role, while APP_ID and APP_PRIVATE_KEY support the custom GitHub identity.
These are values from the captured documentation, not independently confirmed current recommendations. This example was not run, and its authentication or model availability was not verified.
Assessment & evidence
Limitations
On public repositories, any user's comment containing the trigger phrase can start the shown workflow. The credential steps run before the action checks the commenter's write access. The documented consequence is credential generation, cloud sign-in, audit-log entries and Actions-minute consumption before rejection. The page recommends checking write access before those credential steps; that extra step is not included in the examples.
Commits made using GITHUB_TOKEN do not trigger CI workflows, according to the page. Teams that expect generated commits to start CI must account for that identity choice. Bedrock cross-region access and Foundry deployment-matching model IDs are further provider-specific constraints.
The guide refers readers elsewhere for full IAM policy details, console procedures and general action troubleshooting. No workflow, permission configuration, model response or downstream CI behavior was tested.
Reasoning
The documented design separates permission to call a model from permission to change a repository. A practical implication is that both identities need appropriate scope: cloud trust limited to the repository and GitHub permissions suited to the intended interactions.
Using an existing cloud provider is a plausible fit when a team already has model access there. That conclusion follows from the prerequisites and provider choices; the source supplies no comparative evidence that any route is cheaper, faster or more reliable.
OIDC reduces reliance on stored cloud credentials. It does not prevent unwanted workflow starts, which is why the order of the public-repository authorization check matters.
Alternatives
The page identifies the Claude API as the action's default inference route. Bedrock, Google Cloud's Agent Platform and Microsoft Foundry are the documented cloud-account alternatives. It recommends choosing the provider where the organization already has Claude access.
For GitHub identity, the documented choices are the official Claude app, a custom app with the three specified repository permissions or GITHUB_TOKEN. The automatic token avoids creating an app, with the documented limitation on triggering CI from its commits.
The source does not compare competing coding assistants, supported-model coverage, latency or pricing. No ranking between providers is supported.
Evidence
The evidence is the complete documentation page at [https://code.claude.com/docs/en/github-actions-cloud-providers.md], captured on 2026-11-15 at 03:19:26.596 UTC.
The page supplies prerequisites, three provider workflows, identity options, setup instructions, warnings and troubleshooting guidance. Linked pages and repositories are outside the supplied evidence. No code was executed, no cloud account was accessed and no successful integration result is available.
Access & freshness
Costs
Exact costs are unknown. The page provides no model prices, GitHub Actions rates, usage estimates or measured spending.
The page suggests adding --max-turns to claude_args to bound run length and help control cost. It does not establish a fixed monetary cap or a predictable price per task.
Its public-repository warning identifies an additional source of usage: unauthorized trigger comments can start the workflow, generate credentials and consume Actions minutes before the action rejects the commenter. Actual spending depends on the applicable account terms and usage, which are not established here.
Rights
The supplied page does not state a licence for its documentation or YAML examples, or establish permission to redistribute the captured page. It also does not establish the action's software licence, ownership terms for generated code or the cloud services' contractual terms.
Routing calls through an organization's cloud account does not, by itself, establish particular retention, training-use, residency or confidentiality guarantees. Those terms are unknown from this source.
Freshness
The capture date is known, but the page's publication date, last substantive update and maintenance history are not supplied. The capture timestamp does not establish when its instructions were last validated.
The snapshot includes versioned action references and example model identifiers. Google Cloud and Foundry examples use claude-sonnet-5, while the Bedrock example uses us.anthropic.claude-sonnet-4-6. These document the captured examples; current model availability, regional support, role definitions and action compatibility remain unverified.
Actions
Before adopting the configuration, confirm Claude access in the intended provider and region, choose a GitHub identity that supports the required CI behavior and establish repository-scoped cloud trust. For a public repository, add the documented write-access check before generating the app token or signing in to the cloud.
Adapt the provider example with the correct secrets, model and region or resource name. Set an appropriate --max-turns value and establish applicable cloud and Actions costs separately, since the page gives no prices.
The guide's proposed validation is to mention @claude in an issue or pull request comment, inspect the Actions run and look for a reply. Authentication failures should prompt checks of id-token: write, repository trust conditions and secret names. This validation remains to be performed.
