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 · 4 comments
Assignees
Labels
documentation This is a problem with documentation. p3 This is a minor priority issue 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
Copy link

Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Nov 30, 2024
@amberkushwaha
Copy link

github actions bot added the coming soon into it for the label 2 days contributing guidelines.

@amberkushwaha
Copy link

from botocore.client import Config

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

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional information or feedback. labels Dec 3, 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 s3
Projects
None yet
Development

No branches or pull requests

3 participants