Coding task · NestJS course · Module 12: Containers and CI/CD

Vault integration with NestJS

Complete the configuration for loading secrets from HashiCorp Vault in NestJS.

Task

Define an async config loader: connect to Vault, read secrets (DATABASE, JWT_SECRET, REDIS_PASSWORD), and return them as a config object