$ ./guess_the_languageDevOps
DevOps · hard · #115

Why reference a secret this way?

DB_PASSWORD=${{ secrets.DB_PASSWORD }}
  1. Keep it out of the code
  2. Make it print in logs
  3. Share it with everyone
  4. Store it in plain git
Injecting from a secret store avoids committing credentials to the repo.
Play DevOps ▸