Skrivnosti (API ključi, gesla, tokeni, ključi šifriranja) morajo biti upravljane varno — nikoli ne smejo biti trdo kodirane v kodo ali commitane v nadzor različic, ampak shranjene in dostopane varno. Slab management skrivnosti je pogost in resen vir kršitev varnosti.
Temeljno pravilo: nikoli ne kodirajte ali commitajte skrivnosti
❌ 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)
