Answer: Configure your cloud to trust the OIDC token that GitHub issues to the workflow, so each workflow run gets short-lived cloud credentials, and include the `id-token: write` permission in the workflow file, which GitHub requires to issue the OIDC token that your cloud provider exchanges for credentials. Status: Confirmed Entry: tool/claude-code/integrations/github-actions-oidc-cloud-setup Revision: 2 Digest: sha256:8fb256419748f1b4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:14Z Last changed: 2026-11-20T12:20:51Z (Azure tenant ID secret: — → AZURE_TENANT_ID) Last verified: 2026-11-20T12:20:51Z Next check: 2026-11-21T12:20:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of OIDC token permission | id-token: write | [1] | 2026-11-20 AWS provider URL | https://token.actions.githubusercontent.com | [1] | 2026-11-20 AWS audience | sts.amazonaws.com | [1] | 2026-11-20 AWS role secret | AWS_ROLE_TO_ASSUME | [1] | 2026-11-20 GCP provider secret | GCP_WORKLOAD_IDENTITY_PROVIDER | [1] | 2026-11-20 GCP service account secret | GCP_SERVICE_ACCOUNT | [1] | 2026-11-20 Azure client ID secret | AZURE_CLIENT_ID | [1] | 2026-11-20 Azure tenant ID secret | AZURE_TENANT_ID | [1] | 2026-11-20 Sources: [1] Anthropic. "Use Claude Code GitHub Actions with cloud providers". https://code.claude.com/docs/en/github-actions-cloud-providers.md Role: primary. Accessed: 2026-11-20T12:20:51Z Quote: "includes the `id-token: write` permission, which GitHub requires to issue the OIDC token that your cloud provider exchanges for credentials" (Supports: OIDC token permission) Quote: "Add a GitHub OIDC identity provider with provider URL `https://token.actions.githubusercontent.com` and audience `sts.amazonaws.com`" (Supports: AWS provider URL, AWS audience) Quote: "| `AWS_ROLE_TO_ASSUME` | Amazon Bedrock | The ARN of the IAM role |" (Supports: AWS role secret) Quote: "| `GCP_WORKLOAD_IDENTITY_PROVIDER` | Google Cloud's Agent Platform | The provider's full resource name |" (Supports: GCP provider secret) Quote: "| `GCP_SERVICE_ACCOUNT` | Google Cloud's Agent Platform | The service account's email address |" (Supports: GCP service account secret) Quote: "| `AZURE_CLIENT_ID` | Microsoft Foundry | The Entra application's client ID |" (Supports: Azure client ID secret) Quote: "| `AZURE_TENANT_ID` | Microsoft Foundry | Your Microsoft Entra tenant ID |" (Supports: Azure tenant ID secret) Published: 2026-11-20T03:10:58Z Snapshot SHA-256: d16a2f3e470216502b254e47b9cc6b9858eadc53f97563ee347da699d017d25a (captured 2026-11-19T12:16:23Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T12:16:24Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:20:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:20:51Z Last attempt: 2026-11-20T12:20:51Z Notes and limitations: Extracted automatically from a single official source (section "Set up the integration"). Related: https://latestn.com/tool/claude-code/integrations/github-trigger-events Which GitHub events can trigger a Claude Code scheduled task? https://latestn.com/tool/claude-code/integrations/gitlab-bedrock-google-cloud How do I configure Claude Code to use Amazon Bedrock or Google Cloud in GitLab CI/CD? https://latestn.com/tool/claude-code/integrations/gitlab-cicd-setup How do I set up Claude Code with GitLab CI/CD? https://latestn.com/tool/claude-code/integrations/ghes-supported-features Which Claude Code features support GitHub Enterprise Server and how do they differ from github.com? https://latestn.com/tool/claude-code/integrations/github-actions-cloud-provider-input How do I configure Claude Code GitHub Actions to use Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry instead of the Claude API? https://latestn.com/tool/claude-code/integrations/github-actions-cloud-provider-prerequisites What prerequisites do I need before setting up Claude Code GitHub Actions with a cloud provider? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:20:51Z | changed | Azure tenant ID secret: — → AZURE_TENANT_ID | [1] 2026-11-20T12:20:51Z | changed | AWS role secret: — → AWS_ROLE_TO_ASSUME | [1] 2026-11-20T12:20:51Z | changed | AWS audience: — → sts.amazonaws.com | [1] 2026-11-20T12:20:51Z | changed | AWS provider URL: — → https://token.actions.githubusercontent.com | [1] 2026-11-20T12:20:51Z | changed | Bedrock role secret: AWS_ROLE_TO_ASSUME → — | [1] 2026-11-20T12:20:51Z | changed | Bedrock audience: sts.amazonaws.com → — | [1] 2026-11-20T12:20:51Z | changed | GitHub OIDC provider URL (Bedrock): https://token.actions.githubusercontent.com → — | [1] 2026-11-20T12:20:51Z | changed | Cloud authentication approach: short-lived cloud credentials → — | [1] 2026-11-13T03:04:14Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/integrations/github-actions-oidc-cloud-setup/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/integrations/github-actions-oidc-cloud-setup POST: https://latestn.com/dispute/tool/claude-code/integrations/github-actions-oidc-cloud-setup with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/integrations/github-actions-oidc-cloud-setup?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set up OIDC authentication so Claude Code GitHub Actions can access my cloud provider without storing long-lived credentials? Revision 2, last verified 2026-11-20T12:20:51Z. https://latestn.com/tool/claude-code/integrations/github-actions-oidc-cloud-setup (accessed 2026-11-21T09:52:28Z). @misc{LatestN_tool_claude_code_integrations_github_actions_oidc_cloud_setup_r2, title = {How do I set up OIDC authentication so Claude Code GitHub Actions can access my cloud provider without storing long-lived credentials?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/integrations/github-actions-oidc-cloud-setup}}, note = {Revision 2; digest sha256:8fb256419748f1b4; last verified 2026-11-20T12:20:51Z; accessed 2026-11-21T09:52:28Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/integrations/github-actions-oidc-cloud-setup