This project aims to provide a secure way to authenticate and authorize API requests made to AWS Lambda functions. By implementing a signing mechanism, it ensures that only authorized clients can access the Lambda functions.
- Request signing using HMAC-SHA256 algorithm
- Integration with AWS Lambda and API Gateway
- Support for multiple programming languages
- Fork and clone the repository:
git clone https://github.com/your-username/signed-lambda-api-requests.git
- Install the required dependencies:
npm install
- Create a .env file and configure the AWS credentials in it.
- Run the project:
node index.js
- Generate a signed request using the provided SDK or by implementing the signing logic yourself.
- Make an HTTP request to the API Gateway endpoint with the signed request.
- The API Gateway will validate the signature and forward the request to the corresponding Lambda function.
- The Lambda function can verify the request signature and process the request accordingly.