References: Secrets and Configuration¶
-
Environment variable - Wikipedia - Explains how programs read named values from their environment. It is the mechanism behind dotenv files and the platform secret stores in this chapter.
-
API key - Wikipedia - Describes what API keys are, how services use them and the risks of exposing them. It supports the chapter's sections on hardcoded secrets and key rotation.
-
Twelve-Factor App methodology - Wikipedia - Summarizes the twelve-factor rules, including keeping configuration in the environment. It explains why secrets don't belong in code.
-
Securing DevOps - Julien Vehent - Manning, 2018 - Vehent is known for walking one sample app through a full security pipeline, including how secrets reach production. That worked example makes secret handling concrete.
-
Alice and Bob Learn Application Security - Tanya Janca - Wiley, 2020 - Janca explains security through two characters and plain stories instead of jargon. Her chapters on secure configuration and secrets suit readers without a security background.
-
Config - The Twelve-Factor App - The original statement of why configuration should live in environment variables. Its test, whether the code could be made public without leaking credentials, is a useful check.
-
Secrets Management Cheat Sheet - OWASP - Practical guidance on storing, rotating and auditing secrets. It covers the leak paths and rotation steps discussed in this chapter.
-
Secret scanning - GitHub Docs - Explains how GitHub detects committed secrets and alerts the owner. It shows one automated defense against a secret in git history.
-
Removing sensitive data from a repository - GitHub Docs - Steps for purging a leaked secret from history, and why you must still rotate it. It backs the chapter's leaked-key advice.
-
Gitleaks - Gitleaks - An open-source scanner that finds secrets in code and git history. It can run before each commit to stop a key leaving your machine.