Skip to content

Commit 9614af8

Browse files
committed
Add SigV4 note to generate_presigned_post documentation
1 parent 5eea62f commit 9614af8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

botocore/signers.py

+13
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,19 @@ def generate_presigned_post(
836836
):
837837
"""Builds the url and the form fields used for a presigned s3 post
838838
839+
.. note::
840+
841+
Amazon S3 supports Signature Version 4, a protocol for authenticating
842+
inbound API requests to AWS services, in all AWS Regions. At this time,
843+
AWS Regions created before January 30, 2014, will continue to support
844+
the previous protocol, Signature Version 2. Any new Regions after January 30,
845+
2014, will support only Signature Version 4 and therefore all requests to
846+
those Regions must be made with Signature Version 4.
847+
848+
For more details, see:
849+
`AWS Signature Version 4 <https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html>`_.
850+
851+
839852
:type Bucket: string
840853
:param Bucket: The name of the bucket to presign the post to. Note that
841854
bucket related conditions should not be included in the

0 commit comments

Comments
 (0)