03-30-2015 06:59 AM
I am trying to upload a file on my Amazon S3 bucket using the "Upload a file.vi" from the LabVIEW examples and using the Amazon S3 LabVIEW NI's APIs.
Unfortunately I got this error message:
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
Any advice you can give me would be greatly appreciated.
Regards,
Maurizio Bollini.
03-30-2015 07:21 AM
Hi Maurizio,
Amazon has 2 authentication schemes, and AWS4-HMAC-SHA256 is one of them (this is also referred to as V4). The LabVIEW Interface for Amazon S3 is using V2, which is the other, older authentication scheme.
Amazon has decided to support only the newer, V4 version in regions deployed after January 30th, 2014.
You can read more about this here: Authenticating Requests (AWS Signature Version 4)
I guess you probably tried to upload your data to the Frankfurt region, which is the only such new region.
Take a look at this list of the available S3 regions and their signature version support.
Unfortunately as V4 authentication is not supported in the LabVIEW Interface for Amazon S3, there is no other solution than using a different region to store your data.
Regards,
Peter
03-30-2015 07:35 AM
Hi Peter,
you're right - I'm using the Frankfurt region which only support V4.
Thanks for your prompt and resolutive message.
Regards
Maurizio.