GitHub Actions 1 · Secrets and security

Use a secret

Read a repository secret. Secrets are masked in logs.

env:
  API_KEY: ${{ secrets.API_KEY }}

Official GitHub Actions 1 documentation

More secrets and security commands

All secrets and security commands · GitHub Actions 1 cheatsheet

Was this page helpful?