How can I authenticate with Cognito and AWS_IAM in karate?

22 Views Asked by At

I'm trying to test an Appsync API protected by AWS_IAM and Cognito identity provider. To be authorised, I need to use AWS Signature v4. Is there anyway I could intercept HTTP requests and set the headers (with the help of an external library, potentially a JavaScript library) ?

0

There are 0 best solutions below