Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(short issue description)generate_presigned_post documentation should provide a link to S3 doc explaining regional default variation in response #4351

Open
jrobbins-LiveData opened this issue Nov 16, 2024 · 1 comment
Assignees
Labels
documentation This is a problem with documentation. p3 This is a minor priority issue response-requested Waiting on additional information or feedback. s3

Comments

@jrobbins-LiveData
Copy link

Describe the issue

While documented in a Note here, the boto3 documentation here ought to include a copy of that Note or a link to that page, because it is surprising to call a boto3 function and have the response fields vary with the region.

It would also be helpful to have the boto3 document show that the default legacy behavior on older regions can be upgraded to "modern" via, e.g.

from botocore.client import Config

s3_client = boto3.client('s3', 'us-east-1', config=Config(signature_version='s3v4'))

Text of the Note

Amazon S3 supports Signature Version 4, a protocol for authenticating inbound API requests to AWS services, in all AWS Regions. At this time, AWS Regions created before January 30, 2014 will continue to support the previous protocol, Signature Version 2. Any new Regions after January 30, 2014 will support only Signature Version 4 and therefore all requests to those Regions must be made with Signature Version 4. For more information about AWS Signature Version 2, see Signing and Authenticating REST Requests in the Amazon Simple Storage Service User Guide.

Links

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3/client/generate_presigned_post.html

@jrobbins-LiveData jrobbins-LiveData added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Nov 16, 2024
@adev-code adev-code self-assigned this Nov 19, 2024
@adev-code adev-code added investigating This issue is being investigated and/or work is in progress to resolve the issue. s3 p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Nov 19, 2024
@adev-code
Copy link

Hello @jrobbins-LiveData, thanks for reaching out and finding out a better way for the boto3 documentation. I have reached out to the documentation in regards. If you have any other questions, please let us know. Thank you.

For internal use: P171266421

@adev-code adev-code added response-requested Waiting on additional information or feedback. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This is a problem with documentation. p3 This is a minor priority issue response-requested Waiting on additional information or feedback. s3
Projects
None yet
Development

No branches or pull requests

2 participants