Τα μυστικά (κλειδιά API, κωδικοί πρόσβασης, tokens, κλειδιά κρυπτογραφίας) πρέπει να διαχειρίζονται με ασφάλεια — ποτέ hardcoded στον κώδικα ή committed στο version control, αλλά αποθηκευμένα και προσβάσιμα με ασφάλεια. Η κακή διαχείριση μυστικών είναι μια συνηθισμένη, σοβαρή πηγή παραβιάσεων ασφάλειας.
Ο θεμελιώδης κανόνας: ποτέ hardcode ή commit μυστικά
❌ 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)
