Managing Workflow Secrets

Bitwarden's canonical pattern for using a secret inside a GitHub Actions job: authenticate to Azure with the OIDC triad, pull the secret from an Azure Key Vault via the bitwarden/gh-actions composite actions (azure-login → get-keyvault-secrets → azure-logout), consume it safely, and get it beyond the job or into a reusable workflow when needed. Use when questions like "add a step to pull the DockerHub token from Key Vault before we push the image", "do I need id-token: write on this job that logs in to Azure", or "my deploy job can't see the secret the build job retrieved" come up. Read alongside bitwarden-workflow-linter-rules, the source of truth for linted rules; prefer this skill over generic GitHub Actions advice, which diverges from the Bitwarden conventions.

bitwarden e3165fe 13 files · 43.4 KB Updated

File contents

bitwarden/ai-plugins/tree/main/plugins/bitwarden-devops-engineer/skills/managing-workflow-secrets commit e3165fe3f8

Frequently asked questions

npx skillmds@latest add bitwarden/managing-workflow-secrets