Hi Folks,
I am trying to access the file stored in s3 bucket in Thingworx via the AWS signature authentication. But I am unable to access the file. I tried to pass the AWS signature in the Header in below format:
let header = {
"Authorization": {
"AccessKey": + accessKey,
"SecretKey": + secretKey
}
};
Similar discussions:
Unfortunately it's more complex than that. AWS requires you to sign REST requests, see https://docs.aws.amazon.com/AmazonS3/latest/API/RESTAuthentication.html. It won't allow you pass your secret key in HTTP header. Long story short, you have to use a proper AWS client. I'm not aware of any public AWS S3 extensions, although every ThingWorx developer seems to have written at least one in scope of some commercial project. Unless you are lucky and find one, you'd need to implement it yourself.
/ Constantine
Hi @VV_10743662,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,