Cloud Application Security

What should a cloud application use to store and retrieve database passwords at runtime instead of hardcoding them?

Show the answer

Correct answerD. A secrets management service

AWhy not this: An SSO portal authenticates users to applications, not application-to-database credentials.

BWhy not this: Committing secrets to a repository exposes them in source history even if the repository is private.

CWhy not this: A CASB enforces policy over cloud service use; it does not store application credentials.

DWhy this is right: A secrets manager holds credentials encrypted, restricts and logs access, and serves them at runtime.

A secrets management service stores credentials centrally, encrypts them, controls access and audits retrieval, so applications fetch them at runtime. A private Git repository still places secrets in source code, which is the problem being avoided.