Authentication Issue with AWS

Hi,

I’m struggling to use AWS.

I’m using AWS.AmazonEC2API.GetImageByName but I keep getting…

MyProject.AmazonEC2API1: AWS was not able to validate the provided access credentials
The remote server returned an error: (401) Unauthorized.

…even though I’m using the correct access key and secret key.

I can validate this as that key combination is successful with the AWS Command line.

Any ideas?

Hi Leigh,

We’ll be launching a new set of AWS plugins very soon with the new release of Linx 5. These plugins will include most operations available in AWS: https://linx.software/amazon-s3-plugin/

In the meantime, we can try and solve the 401 issue.

One thing that happens often with AWS is when your PC’s time is not syncronised. Please can you make sure the clock is set to auto-check? If the clock is a couple of minutes out, AWS rejects the credentials.

Regards,
Dawie