Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Configuring OpenID Connect in HashiCorp Vault - GitHub Docs

Configures HashiCorp Vault to authenticate GitHub Actions via OpenID Connect (OIDC) by setting up JWT authentication roles and updating GitHub workflow YAML permissions to exchange OIDC tokens for Vault access tokens.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Configuring OpenID Connect in HashiCorp Vault - GitHub Docs

Configures HashiCorp Vault to authenticate GitHub Actions via OpenID Connect (OIDC) by setting up JWT authentication roles and updating GitHub workflow YAML permissions to exchange OIDC tokens for Vault access tokens.

When To Use

Use when you need to implement passwordless authentication between GitHub Actions and HashiCorp Vault using OIDC to securely retrieve secrets.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-secure-your-work-configuring-openid-connect-in-hashicorp-workflow-guide.mdA guide on configuring OpenID Connect between GitHub Actions and HashiCorp Vault to secure deployments.Questions about a guide on configuring OpenID Connect between GitHub Actions and HashiCorp Vault to secure deployments.
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-hashicorp.textA text snippet demonstrating the command to enable the JWT authentication method in HashiCorp Vault for GitHub Actions OIDC integration.Exact payloads, commands, or snippets shown in A text snippet demonstrating the command to enable the JWT authentication method in HashiCorp Vault for GitHub Action...
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-hashicorp-2.textVault CLI commands to configure the JWT authentication method using GitHub Actions OIDC issuer and discovery URLs.Exact payloads, commands, or snippets shown in Vault CLI commands to configure the JWT authentication method using GitHub Actions OIDC issuer and discovery URLs.
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-hashicorp-3.textA HCL policy definition for granting read-only access to a specific secret path in HashiCorp Vault.Exact payloads, commands, or snippets shown in A HCL policy definition for granting read-only access to a specific secret path in HashiCorp Vault.
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-hashicorp-4.textA shell command demonstrating how to configure a JWT authentication role in HashiCorp Vault for GitHub Actions using OIDC.Exact payloads, commands, or snippets shown in A shell command demonstrating how to configure a JWT authentication role in HashiCorp Vault for GitHub Actions using...
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-hashicorp-5.textA GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to retrieve secrets from HashiCorp Vault.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to retrieve secrets from HashiCo...
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-hashicorp-6.textA GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to retrieve secrets from HashiCorp Vault.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to retrieve secrets from HashiCo...

What This Skill Covers

    • GitHub Actions / - How-tos / - Secure your work / - Security harden deployments / - OIDC in HashiCorp Vault
  • Main sections: In this article, Overview, Prerequisites, Adding the identity provider to HashiCorp Vault, Updating your GitHub Actions workflow.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-hashicorp-vault