Using GitHub Secrets
  • 09 Oct 2023
  • Dark
    Light
  • PDF

Using GitHub Secrets

  • Dark
    Light
  • PDF

Article summary

Github Actions enables the use of GitHub Secrets to encrypt variables. This practice is recommended if there is sensitive information you wish to hide so it is not visible within the code files.

To use GitHub Secrets, please follow these instructions:

  1. Select the settings tab on your target repository.
  2. Select the secrets and variables tab under security options.
  3. Click the "new repository secret" option on the top right of the screen.
  4. Enter the required fields for YOUR_SECRET_NAME.
  5. For SECRET, enter your desired variable.
  6. Click "Add Secret".

For more information about Github Action secrets, please view Github Secrets.

For more information about Github Actions variables, please view variables.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.