Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Authorization mechanism not supported #48

Open
ytanruengsri opened this issue May 28, 2016 · 9 comments
Open

Authorization mechanism not supported #48

ytanruengsri opened this issue May 28, 2016 · 9 comments

Comments

@ytanruengsri
Copy link

Failed to run mvn deploy because

AWS Error Code: InvalidRequest, AWS Error Message: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
@berezovskyi
Copy link

Apparently, v4 is mandatory only in Frankfurt and Seoul. Try another region. But a fix would be handy.

@fragsalat
Copy link

👍

@mjallday
Copy link

mjallday commented Apr 1, 2017

We're maintaining a custom branch that will resolve this.

https://github.com/verygoodsecurity/aws-maven

<pluginRepositories>
    <pluginRepository>
        <id>bintray-vgs</id>
        <name>bintray-vgs</name>
        <url>https://dl.bintray.com/vg/vgs-oss</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </pluginRepository>
</pluginRepositories>

and

<extension>
    <groupId>io.vgs.tools</groupId>
    <artifactId>aws-maven</artifactId>
    <version>1.4.3</version>
</extension>

Will give you all current regions

@umesh936
Copy link

@mjallday Hi just for FYI , you dont have 1.4.3 version updated in above repository (as it is given in example) .. so maven fails in case of direct copy paste work :)

@mjallday
Copy link

@umesh936 thanks! deployed.

@ravipetlur
Copy link

@mjallday It looks like public repo https://dl.bintray.com/vg/vgs-misc has been moved behind a basic auth. Is this closed for public consumption, do we know of any known source to consume the aws wagon anywhere. thanks in advance

@umesh936
Copy link

umesh936 commented Nov 27, 2017

@ravipetlur you can clone this code and build, release to your own repository. Then point dependancy to your own repository. It will solve your problem.
https://github.com/verygoodsecurity/aws-maven

@mjallday
Copy link

mjallday commented Nov 28, 2017

Yup, sorry about that @ravipetlur .

Updated links are:

I've updated the example above so it's correct.

@ravipetlur
Copy link

@umesh936 I ended up doing the same.
@mjallday thanks for the updated links.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

6 participants