Skip to content

TastefulElk/basic-auth-lambda-edge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Authentication with Lambda@Edge

Backing code for https://dev.to/tastefulelk/basic-authentication-with-lambda-edge-23o5

Install

npm install

Deploy

You need to specify the CLOUDFRONT_DISTRIBUTION_ID environment variable with the Id of the Cloudfront Distribution that you want to attach the Basic Auth lambda to.

Example

CLOUDFRONT_DISTRIBUTION_ID=abc123
npx sls deploy

About

Basic Authentication with Lambda@Edge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published