Pipeline CI/CD memerlukan secrets (kunci API, kredensial deployment, password database, token) untuk membangun dan menerapkan — tetapi menanganinya dengan tidak aman adalah risiko serius. Manajemen secrets yang tepat menjaga kredensial tetap aman di seluruh pipeline.
Masalah: secrets tidak boleh pernah terbuka
Pipelines need credentials, but secrets are a major security risk if mishandled:
⚠️ NEVER hardcode secrets in code, pipeline config files, or commit them to Git
(committed secrets are exposed in history — even if "removed" later)
⚠️ NEVER print secrets in logs (pipeline logs may be visible/stored)
→ Leaked CI/CD secrets (deploy keys, cloud credentials) can compromise entire systems.
