CS.VIII · CISSP practice question
Why should secrets such as API keys, database passwords, and private signing keys be stored in a dedicated secrets manager or vault rather than hard-coded in source code?
Check answer and explanation
Correct answer: Hard-coded secrets can leak via repositories, logs, or builds and are difficult to rotate without code changes
Explanation
Dedicated secret management enables centralized access control, auditing, injection at runtime, and safer credential rotation compared to hard-coding secrets in code.
Common trap
Dedicated secret management enables centralized access control, auditing, injection at runtime, and safer credential rotation compared to hard-coding secrets in code.
Source: Original unofficial practice; not an official ISC2 exam item
Checked against the cited text on 2026-11-30.