-
Notifications
You must be signed in to change notification settings - Fork 87
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
Support for AWS4-HMAC-SHA256 #43
Comments
@benjamin-maynard what does your config look like? |
Running in Kubernetes, but just the following environment variables: The exact same config works in eu-west-1, but not eu-west-2
|
@eofs do you have any ideas on this? |
the same issue |
Hi! You need to generate presigned URL when using Version 4 authentication before calling According to documentation you could provide I hope this helps! |
Support added in #45 |
Hi,
Firstly thanks for authoring this adapter. Really is great.
When I was deploying this earlier for my blog, I created an S3 Bucket in eu-west-2, which is the London Region. As per https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region, this S3 region only supports the latest Version 4 signature.
When configuring the ghost-storage-adapter-s3 plugin to point to this S3 endpoint, image uploads lead to the following error message:
NAME: InternalServerError CODE: InvalidRequest MESSAGE: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
Recreating the S3 bucket in the Ireland region, which supports Version 2 makes this error go away. I am unsure if this is a plugin specific issue or related to the AWS-SDK.
The text was updated successfully, but these errors were encountered: