0
votes

I've used spring cloud data flow starter s3 sink in a pipeline. I think I've supplied all the required values. I'm getting this error: Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: XXXXXXXX)

The values I supplied:

--cloud.aws.credentials.accessKey=XXXXXXXX
--cloud.aws.region.static=us-east-1
--cloud.aws.credentials.secretKey=XXXXXXXXXXXXXXXX 
--s3.acl=XXXXXXXXXX
--s3.bucket=XXXXXXXXXX
--s3.key-expression=headers.file_name

Can anyone suggest a solution or troubleshooting tip.

Thank You

1
My error is specific to the signature calculation which is completely done by SCS s3 starter app. The error is as below: 'The request signature we calculated does not match the signature you provided. Check your key and signing method.'Sreenivasulu Guduru
May you point where that SCS s3 starter app does this signature calculation, please ?Artem Bilan
I think the secret key had a '/' character which caused the signing not work well on s3 app. I regenerated access and secret key that don't have '/' character. That has fixed the issueSreenivasulu Guduru

1 Answers

0
votes

The secret key had a '/' character which caused the signing does not work well on s3 starter sink app. I regenerated access and secret key that doesn't have '/' character. That has fixed the issue