secret generator jwt code example Example: generate jwt secret key node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"