Manage Secrets

Talk it through out loud with your AI coach.

The problem

  • medium
  • Pro

A developer accidentally pushed the production database password and a payment API key to a public code repository. Explain what you'd do right now, and how you'd manage secrets so this can't easily happen again.

What a strong answer covers

  • The immediate response that actually neutralises the leak.
  • Keeping credentials out of source code entirely and loading them at runtime.
  • Automated safeguards that catch leaks before or soon after they happen.
  • Ongoing practices that limit the damage any single secret can do.

Common mistake: Deleting the commit or making the repository private and assuming the leaked credentials are safe again.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud