Open sakurai-ryo opened 1 year ago
Hi @sakurai-ryo thanks for reaching out. Have you tried using SigV4 as suggested in this re:Post answer? For example:
s3 = boto3.client('s3', config=Config(signature_version='s3v4'))
@tim-finnigan It worked correctly, thank you! I will send a PR to add this to the documentation. https://github.com/boto/boto3/blob/develop/docs/source/guide/s3-presigned-urls.rst
Describe the bug
Hi Team. I am using S3 Object Lambdan Access Point to execute boto3 generate_presigned_url method. But when I access the generated URL, I get a
MissingAuthenticationToken
error.If I use the @aws-sdk/s3-request-presigner module to generate it with JavaScript, I can access it via URL.
Expected Behavior
Being able to access S3 objects via a presigned URL.
Current Behavior
I got the following error in xml format
Reproduction Steps
The minimal code to reproduce is below.
Possible Solution
No response
Additional Information/Context
Debug log for boto3 is below
SDK version used
1.26.117
Environment details (OS name and version, etc.)
MacOS Ventura