Related to https://developer.github.com/webhooks/ and pushing data to Lambda AWS. I can check the token by just having this check in my handler. const crypto = require('crypto'); exports.handler = (event, context, callback) => { let headers = event.headers; let body = event.body; if (typeof body === 'object') { body = JSON.stringify(event.body); } let github_event = headers['X-GitHub-Event']; if ( github_event === undefined || typeof github_event !== 'string' || github_event.length < 1 ) { callback(null, { statusCode: 400, body: 'Missing X-GitHub-Event' }); return; } let github_signature = headers['X-Hub-Signature']; if ( github_signature === undefined || typeof github_signature !