โ11-27-2018 11:59 AM
Hello,
Is there a way to call an AWS API using the SnapLogic REST Get or Post snaps?
Thereโs no option to create an AWS Signature account for REST:
Hopefully Iโm just missing something. I did all my testing using Postman and now Iโm blocked in SnapLogic.
In SnapLogic Expression Language I see thereโs Digest sha256 but AWS requires HMAC so I canโt find a workaround.
Alternatively is HMAC available in the Script snap or do I need to develop my own Snap for this this?
Thanks!
โ11-02-2020 08:35 AM
thank you @Ish I am passing this values
โ11-04-2020 11:15 AM
Hi @Siva_Venna,
Based on the values you provided, it looks to me like you may want to try using the โS3 File Readerโ snap.
Give that a shot and let us know.
Cheers,
Ish
โ11-05-2020 03:57 AM
@Ish Yes, I am trying to connect to S3 that is in GovCloud .the S3 file reader snap is not working. So trying to access it through REST endpoint
โ08-02-2021 01:29 PM
Support for AWS v4 Signatures in Rest accounts is part of the August 2021 release and is currently available on UAT.
http://uat.elastic.snaplogic.com/
โ08-19-2021 01:54 AM
I tried making Rest AWS v4 Sig account, but it will not work, while the script from earlier worked perfectly (after few modifications in the timestamp, it wouldnโt work as it is on every time zone it seems). Now i canโt make the account work itself. I get the error โThe request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.โ From my experience with the script earlier, could it be a bug in the signature generation code that it would not work properly for different time zones? I am 100% positive I used right credentials, since I copied them from same source that I have used for the script. I would not mind continue using the script itself, but the problem is the credentials remain hardcoded in the script code and are visible. Using an account would solve that problem.