Geheimnisse (API-Schlüssel, Passwörter, Tokens, Verschlüsselungsschlüssel) müssen sicher verwaltet werden — niemals in Code hartcodiert oder in die Versionskontrolle eingecheckt, sondern sicher gespeichert und abgerufen. Schlechte Secrets-Verwaltung ist eine häufige, schwerwiegende Quelle für Sicherheitsverletzungen.
Die Kardinalregel: Niemals Geheimnisse hartcodieren oder einchecken
❌ NEVER hardcode secrets in source code or commit them to Git:
→ committed secrets are in the repo HISTORY (exposed even if "removed" later)
→ public repos / leaks expose them to attackers (bots scan GitHub for keys constantly)
→ a TOP cause of breaches (leaked AWS keys, database passwords, API tokens)
⚠️ If a secret IS committed/leaked → ROTATE it immediately (it's compromised)
