Check: secrets

Knowledge check · 5 min · Module 6, lesson 5 of 55 min left in this module

Module 6 · SecretsLesson 5 of 5

Goal: Confirm you can spot a secret, name how it leaks, respond to a leak in the right order, and give each environment its own configuration.

Four questions: three on Module 6 and one from Module 4. Every answer explains itself, right or wrong.

Which of these values should be stored as a secret?
Your app prints its whole configuration when it starts, to help with debugging. Which leak path is that?
You find a real API key in a commit from last week. In what order do you act?
From Module 4: your app works locally, and production needs a different database. What should change between the two?

Retry as often as you like.