Watch: Give GitHub Actions my API keys safely | Vovy

Watch Vovy do it on a Mac: "My GitHub Action needs my Supabase key, add it as a secret". Vovy adds your keys as encrypted GitHub Actions secrets, wires them into the workflow, and confirms they stay masked in logs.

"My GitHub Action needs my Supabase key, add it as a secret"

Vovy adds your keys as encrypted GitHub Actions secrets, wires them into the workflow, and confirms they stay masked in logs.

What happens in the video

  1. Find what the workflow needs: Vovy reads your workflow file and the failing run to list every variable it expects, like SUPABASE_SERVICE_ROLE_KEY.
  2. Copy the values: Vovy opens your Supabase project's API keys page in your signed-in browser to get each value.
  3. Add repository secrets: Vovy goes to Settings, Secrets and variables, Actions, clicks New repository secret, and saves each key. They are encrypted and cannot be read back.
  4. Reference them in the workflow: Vovy wires each one in with the ${{ secrets.NAME }} syntax under env, so the value never appears in your code.
  5. Rerun and verify: Vovy reruns the job, checks it passes, and shows that the log displays *** in place of each secret.
Read the step-by-step guide