sending http request to API gateway from my frontend using IAM authorization

0

so, i created a cognito user pool and identity pool to sign in to my application. I got my access key, secret key and session token from identity pool. Now i want to send http post request to my API gateway which has IAM authorization. So in order to send request do i have to create a signature using signature v4 process or is there a resource in aws-sdk that can do it for me ?

1 Antwort
2

You will need to sign the request yourself. This is an example of how to do it in Python.

profile pictureAWS
EXPERTE
Uri
beantwortet vor 2 Jahren
profile pictureAWS
EXPERTE
Chris_G
überprüft vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen