Question · NestJS course · Module 9: Deployment and Infrastructure

Secrets Management in Infrastructure

Secrets management in production should:

Answer options

  • Encrypt secrets, rotate regularly, audit access
  • Store everything in environment variables on the server
  • Use only hardcoded values in the code
  • Doesn't matter in Docker containers

You can check the correct answer by solving this task in the CodeWorlds game.