The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
AWS4-HMAC-SHA256, also known as Signature Version 4, ("V4") is one of two authentication schemes supported by S3.
All regions support V4, but US-Standard¹, and many -- but not all -- other regions, also support the other, older scheme, Signature Version 2 ("V2").
According to http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html ... new S3 regions deployed after January, 2014 will only support V4.
Since Frankfurt was introduced late in 2014, it does not support V2, which is what this error suggests you are using.
http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html explains how to enable V4 in the various SDKs, assuming you are using an SDK that has that capability.
I would speculate that some older versions of the SDKs might not support this option, so if the above doesn't help, you may need a newer release of the SDK you are using.
¹US Standard
is the former name for the S3 regional deployment that is based in the us-east-1
region. Since the time this answer was originally written,
"Amazon S3 renamed the US Standard Region to the US East (N. Virginia) Region to be consistent with AWS regional naming conventions." For all practical purposes, it's only a change in naming.
Amazon Web Services - S3 'The authorization mechanism you have provided is not supported' in Django
I'm not sure why setting use-sigv4 = True
in the config file did not work for you. You can set an environment variable instead:
# env.py
os.environ.setdefault('S3_USE_SIGV4', 'True')
Related Topics
How to Write a Switch Statement in Ruby
Difference Between \A \Z and ^ $ in Ruby Regular Expressions
Ruby: What Does 'Require: False' in Gemfile Mean
How to Make a Http Request Using Ruby on Rails
What Does @@Variable Mean in Ruby
How to Extract Url Parameters from a Url With Ruby or Rails
Using Helpers in Model: How to Include Helper Dependencies
Regular Expressions With Validations in Ror 4
Ruby 2.0 Rails Gem Install Error "Cannot Load Such File - Openssl"
Rvm and Thin, Root Vs. Local User
Ruby, Difference Between Exec, System and %X() or Backticks
How to Make --No-Ri --No-Rdoc the Default For Gem Install
Rails :Dependent =≫ :Destroy VS :Dependent =≫ :Delete_All
How to Solve Error "Missing 'Secret_Key_Base' For 'Production' Environment" (Rails 4.1)
Rails Has_Many :Through Find by Extra Attributes in Join Model
Ruby'S File.Open and the Need For F.Close
How to Get the Match Data For All Occurrences of a Ruby Regular Expression in a String