let jwtSecret = await pm.vault.get("jwtSecret");
Taken from...
https://github.com/postmanlabs/postman-app-support/issues/12864
You must add the await operator before each pm.vault method. Without the operator, the method won't run
console.log(await pm.vault.get("jwtSecret"));