Product with a customer License
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. Please use the service AWSAPIAuthentication.SigV4:signAwsRequestWithSignatureV4 to generate the signature.
Note: This package was created on 10.5. However, the code should work on 9.12 as well.
Please let me know if you have any questions.
AWSAPIAuthentication.zip (29.3 KB)
Thanks for replying.
I tried above service but still getting same error. Could you please help me to know
what input to provide in Canonical URI
will it be like below or something else
i tried to follow the example provided in AWS page but no help.
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:
Let me know if you still have questions.
Please refer the below link for more details.