I am trying to run multipart copy key API. I have attached IAM role to my instance from where I am running multipart API. This IAM user has all required permissions. But it is giving me this error.
"A client error (SignatureDoesNotMatch) occurred when calling the ListBuckets operation: The request signature we calculated does not match the signature you provided. Check your key and signing method"
It seems like I am using signature v2 with my IAM role and It is not supported in eu-central-1.
Please help me modify IAM role to use signature v4 instated of signature v2 in eu-central-1 region.