API keys, database passwords, signing keys and service tokens are secrets: anyone who obtains a valid one may inherit its access. Avoid hard-coding them in source code, committing them to repositories, exposing them in browser bundles or printing them in logs. Store secrets in a dedicated secrets manager, grant each service only the minimum permissions it needs, and use short-lived credentials where practical. OWASP describes a secret lifecycle: creation, rotation, revocation and expiration. If a secret is exposed, revoke it promptly, issue a replacement, remove it from affected systems and investigate logs for misuse. Secret management is an operational process, not a one-time configuration task. Source: OWASP Foundation.