Salaisuudet (API-avaimet, salasanat, tokenit, salaamisavaimet) on hallittava turvallisesti — niitä ei saa koskaan kovakoodata koodiin tai toimittaa versionhallintaan, vaan ne tulee tallentaa ja käyttää turvallisesti. Heikko salaisuuksien hallinta on yleinen ja vakava tietoturvaloukkausten lähde.
Perusperiaate: älä koskaan kovakoodaa tai toimita salaisuuksia
❌ 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)
