A titkok (API-kulcsok, jelszavak, tokenek, titkosítási kulcsok) biztonságosan kell kezelni — soha nem szabad azokat a kódba rögzíteni vagy a verziókezelésbe elkövetni, hanem biztonságosan tárolni és elérni. A gyenge titokkezelés egy gyakori és komoly biztonsági rés forrása.
A fő szabály: soha ne kódolj be titokokat és ne kövesd el őket
❌ 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)
