Skip to content
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

Remove S3 key check to allow full boto auth flow #96

Merged
merged 1 commit into from Feb 8, 2017

Conversation

trebon
Copy link
Contributor

@trebon trebon commented Feb 7, 2017

Boto has a rich set of search methods to attempt to locate credentials. Currently s4cmd doesn't allow authentication to even be attempted without the secret key and access key. This means that s4cmd can't be used with IAM roles.

Full boto auth search pattern can be found here

@trebon
Copy link
Contributor Author

trebon commented Feb 7, 2017

This would also resolve #71

@trebon
Copy link
Contributor Author

trebon commented Feb 8, 2017

Ran runtests.sh with .s3cfg supplied credentials, IAM role credentials and without any credentials. When credentials were supplied, all tests passed. Without credentials the proper error message was shown.

@chouhanyang chouhanyang merged commit f5f5ff0 into bloomreach:master Feb 8, 2017
@chouhanyang
Copy link

Merged. Thanks!

VarunWachaspati pushed a commit to VarunWachaspati/s4cmd that referenced this pull request Oct 10, 2020
Remove S3 key check to allow full boto auth flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants