Kjetil
Kjetil

Reputation: 484

AWS Api Gateway - Lambda Function Client Certificate

We have created a client certificate in our API Gateway. When using proxy, the certificate is being sent correctly to the end-point.

However, when using lambda we can not access and/or resend/forward the certificate for https requests using the https package ( require('https'); ).

How can we use the API Gateway Client Certificate in our lambda function?

Upvotes: 2

Views: 1039

Answers (1)

Stefano Buliani
Stefano Buliani

Reputation: 1024

API Gateway only sends the client certificate to HTTP integrations. Not to Lambda functions as that communication is already secured by AWS credentials/roles.

Upvotes: 1

Related Questions