How to send Outbound REST Messages using AWS Signature Version 4?

spinol
Kilo Explorer

Currently trying to send outbound REST messages using AWS sigv4 authentication. I have everything working in POSTMan but when I try to implement the same headers within ServiceNow, I end up with 502 errors. Can anyone assist?

Thanks!

13 REPLIES 13

Any ideas on how I could resolve this issue? 

 

Thanks!

Hi Josh,

i'm struggling with signing rest calls to an aws-api. I've just downloaded your POC-file but i can't figure out how to use it. Could you tell me where or how to start? 

Thanks!

kml1
Kilo Contributor

Josh,

Thanks for posting this information. I have a question on modifying this for a PUT / POST call and testing it from a background script. What would I provide for "options?" I'm not quite sure that it wants to have provided. Would you be able to provide an example of what options would be provided to the function?

Thanks.

Grant Hulbert
ServiceNow Employee
ServiceNow Employee

Is AWS v4 signing baked in to Integration Hub now? Do we still need the workaround presented here?

Not yet, unfortunately. But stay tuned!