Introduction
In this lab, you will learn how to use GitHub Actions Secrets. Secrets are encrypted environment variables that you create in an organization, repository, or repository environment. The secrets that you create are available to use in your GitHub Actions workflows.
This is essential for keeping sensitive information like API keys, access tokens, and passwords secure. GitHub Actions automatically redacts secrets from logs, ensuring they are not exposed.
This lab builds on the repository you created in the previous labs. You will add a secret to your github-actions-demo repository and create a workflow that uses it.
You will go through the following steps:
- Add a repository secret to your existing GitHub repository.
- Clone the repository and create a workflow file that references the secret.
- Add steps to use the secret.
- Push the workflow to GitHub.
- Verify that the secret is masked in the execution logs.





