amazon web services - How to MAP AWS_IAM Credentials via HTTP Proxy to Actual HTTP EndPoint in API Gateway of AWS? -


i have http-endpoint - a.

we can call endpoint via http-endpoint-b.

so b-->a

we using aws api gateway above. - aws_iam protected, , b has no protection. require x-amz-security-token, accesskey,secretkey,x-amz-date,authorization. used api gateway's api's resource feature - method request , integration request appropriate mapping.

enter image description here

done various other ways, @ end getting following error :

{ "message": "the request signature calculated not match signature provided. check aws secret access key , signing method......" }

may know missing here ?, have looked on documentation , several other references didn't find appropriate.

the error getting indicates endpoint expecting request signed sigv4. currently, api gateway sign request backend integration endpoint when using "aws service proxy" integration type. hidden default. when setting method, under "integration type" click on "show advanced". makes "aws service proxy" visible. when select it, integration fields change new set relevant calling aws services. example of using aws service proxy can found here.

note api gateway not support calling aws services. more specifically, not support calling other api gateway apis integration endpoints. so, if endpoint api gateway api, won't work. if need call aws service api gateway not support, can work around creating lambda function call endpoint , call lambda function api gateway.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -