seahen / maven-s3-wagon

A Maven Wagon provider for accessing Amazon's Simple Storage Service (S3)
Other
43 stars 24 forks source link

Could not authenticate: Access Denied #11

Open aaroncaraddicts opened 4 years ago

aaroncaraddicts commented 4 years ago

Failed to read artifact descriptor for *: Could not transfer artifact *** from/to s3-maven-repo (s3:///release): Could not authenticate: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: **; S3 Extended Request ID: ZIEyTQEFVx6Ll1U3T72RfCeW4lFymaE6KNZvjqHDIH2eytLAO5ttDDL7pv4gh6PaaL46mHfUxKY=)

Key/Secret Working in local aws CLI, working in Simulator

Also loading Environments Variables not working via command line - had to use "export"

Any idea?

seahen commented 4 years ago

@aaroncaraddicts There was previously a typo in the README.md saying to use the AWS_SECRET_KEY; it was supposed to be AWS_SECRET_ACCESS_KEY. If you had followed the typo in the instructions that would explain this.