Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to - AWS Rest API Authentication

I'm trying to make a Rest API using AWS API Gateway, Lambda, and DynamoDB.

I'm using java-script as my lambda language, and I have successfully created some resources already. However, i don't understand how to make authenticated requests to my IP.

I want simple HTTP Authentication.

Can someone explain how to make authenticated requests to the API Gateway and Lambda?

like image 458
BernalCarlos Avatar asked Jul 11 '26 14:07

BernalCarlos


1 Answers

Here is very Good GitHub Lambda Http Authentication Example Repository. You can walk through this example.

A sample authentication service implemented with a server-less architecture, using AWS Lambda to host and execute the code and Amazon DynamoDB as persistent storage. This provides a cost-efficient solution that is scalable and highly available.

like image 53
CandleCoder Avatar answered Jul 14 '26 08:07

CandleCoder