Skip to content

mudassir-hafeez/auth_function_at_edge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AuthFunctionAtEdge

Introduction

Lambda function to be executed at Lambda@Edge.

Testing

To test lambda function locally, please clone the repo.

After cloning, go to the repository and then type the following commands to create a virtual environment to install dependencies and activate it:

$ cd auth_function_at_edge 
$ python3 -m venv venv
$ source venv/bin/activate
(venv)$ pip3 install -r requirements.txt

Test lambda function by running auth_lambda_handler.py, but before that set your AWS credentials as environment variables.

$ export AWS_ACCESS_KEY_ID=""
$ export AWS_SECRET_ACCESS_KEY="" 
$ export AWS_SESSION_TOKEN=""

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages