reading from S3 pre-signed URL using S3Client::GetObject

  amazon-s3, c++

I have existing code using AWS c++ SDK where I instantiate a Aws::S3::S3Client, then set up a Aws::S3::Model::GetObjectRequest with the bucket name, key name and finally call GetObject so I can download from the specified S3 source.

Now I’m trying to also support reading from an S3 source using a pre-signed URL. The URL contains things like X-Amz-Algorithm, X-Amz-Credential, X-Amz-Signature, etc.

How do I set these up with S3Client/GetObjectRequest so I can download from such a file? Or will I need to use a different approach to download the file?

Source: Windows Questions C++

LEAVE A COMMENT