Description
Use case
It would be nice to have a module in the AWS Powertools that would sign requests made to AWS Resources via the SigV4 method. Currently doing it yourself is a tedious process and needing to understand the underlying mechanism.
This is also discussed in the Powertools for Python repositor
- RFC: Module to Sign Requests powertools-lambda-python#2713
- Feature request: Signing AWS Request powertools-lambda-python#2493
- feat(auth): SigV4 Signing for calls that are taking IAM Auth powertools-lambda-python#2435
Solution/User Experience
Same as for the python version, I am proposing adding a new class that will take in the parameters to create this signed request for the end user to simplify it since it is not a very straightforward method and should be made easier.
Currently it differs based on which request library you are using, for example with Axios there is an intercepter, for got there is a got4aws you could use or in cases where I'm at currently I've implemented our own hook in a request library.
Having an supported module by powertools that does this would be preferred.
Alternative solutions
No response
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status