By using AWS re:Post, you agree to the Terms of Use

Example for the SigV4A algorithm in Python for accessing S3 Multi Region Access points


Hi. I wanted to use S3 Multi Region Access Points. Saw the documentation here: which tells that the mrap alias can be used using the REST APIs but a SigV4A algorithm must be used for signing. I tried to find examples for this but could only find examples for the SigV4 algorithm here:

I was able to see that the logic internally is doing something with the AWS4-ECDSA-P256-SHA256 algorithm and passing the X-Amz-Region-Set': '* in the headers by adding some logging in the python botocore package locally.

Is there any public document available for the SigV4A (Asymmetric) signing logic using python?

asked 8 months ago178 views
1 Answer


I am assuming that if you're following the documentation to sign the requests you're using the AWS SDK, if so, then you don't need to worry about sigv4a as the SDK will automatically convert to this new version of the sigv4 format. You can find the information on the documentation here:, specifically with this paragraph:

  • Requests must be signed using Signature Version 4A (SigV4A). When you use the AWS SDK, the SDK automatically converts a SigV4 signature to SigV4A. For more information about SigV4A, see Signing AWS API requests in the AWS General Reference.

Hope this helps.


answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions