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

Unauthenticated Requests? #478

Closed
tmspzz opened this issue Jul 9, 2018 · 3 comments
Closed

Unauthenticated Requests? #478

tmspzz opened this issue Jul 9, 2018 · 3 comments

Comments

@tmspzz
Copy link

tmspzz commented Jul 9, 2018

Hi,

how can I make a request to public resources on S3? see tmspzz/Rome#126

I have a dug in the codebase but I could not find any obvious way.

If I catch MissingFileError how can I provide all the rest of the environment?

Also AccessKey seems to want a ByteString and using AWS_ACCESS_KEY_ID="" AWS_SECRET_ACCESS_KEY="" to leads to 400 Bad Reques

The authorization header is malformed; a non-empty Access Key (AKID) must be provided in the credential.

Thank you very much for this wonderful library.

@nhibberd
Copy link
Collaborator

nhibberd commented Jul 9, 2018

I would suggest that AWS_ACCESS_KEY_ID="" AWS_SECRET_ACCESS_KEY="" is not a good method for deciding if something is authenticated / unauthenticated

If the bucket is public why do you need s3 specific download? Could you not access it via the public http interface on the s3 bucket

@tmspzz
Copy link
Author

tmspzz commented Jul 9, 2018

Thanks for the reply!

If the bucket is public why do you need s3 specific download? Could you not access it via the public http interface on the s3 bucket

I was just wondering if for convenience there was an integrate way to have amazonka do this for me instead of implementing it myself.

@endgame
Copy link
Collaborator

endgame commented Sep 27, 2021

I don't think this is a supported thing right now, and this looks like a dupe of #483 so I'll close it. Maybe after 2.0 comes out we can look at features like this.

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

No branches or pull requests

3 participants