I’m trying to connect from webMethods IS server 9.12 to Amazon S3 Bucket. I need to drop file or better to say put file in S3 bucket but i’m unable to do so as i’m getting signature did not match error.
I can’t use connectors as that will attract a price which client is not willing to pay.
Any other way i can achieve the above ?
Error: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Can any one help or provide me code for AWS4 HMAC SHA256 signature.
Attached is the sample code to authenticate AWS API requests sent by HTTP using Signature Version 4. The package has some sample services to upload files to S3 bucket.
CanonicalURI is the URI-encoded version of the absolute path component of the URI—everything starting with the “/” that follows the domain name and up to the end of the string or to the question mark character (‘?’) if you have query string parameters. The URI in the following example, /examplebucket/myphoto.jpg, is the absolute path and you don’t encode the “/” in the absolute path: