-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add anonymous access to s3 storage #65
Comments
When a bucket is configured to allow anonymous public access, I think the intent is for the usual plain old HTTP In that case -- where an As a result, I don't think it even occurred to me to support the non-authenticated scenario. It is an interesting enhancement idea. I'll tag it with that label. (I'm not sure how many people would use it... so I'm not sure it's worth the time or the risk of breaking something where authentication is desired.. and I'm not sure when/if this might get added. So in the meantime if you need to do this I'd suggest using |
Thank you. It is logical to use object database from corresponding program api, parsing this things may seams easy, but writing such thing over and over again introduces errors and require time that can be spend elsewhere. I do not look inside lib just yet, but I can suggest to implement this by adding (credentials-anonymous!) method. |
Do you have an example public bucket in mind? If so, have you gone ahead and tried to use the library? (I don't and haven't.) I ask because maybe it already works?! The private and public keys default to [Even if that happens to work, it would be good to document that and preserve that behavior going forward. i.e. I'm asking you can help by doing a quick experiment -- not proposing this as the final answer.] |
Oh never mind. I forgot. The code has many That's the kind of thing I was talking about initially. The package currently assumes authenticated, and uses that assumption to e.g. provide helpful error message. Of course it would be possible to somehow preserve that and also support anonymous. It's not rocket science. It's "only" time to do it, update docs, find and fix resulting bugs. |
I did a few quick hacks to experiment with not supplying any It works, but the only thing that S3 allows anonymously seems to be "getter" functions like If you know a bucket name and object path, forming the URI is simply: (string-append "https://" bucket "." endpoint "/" path) where And you give that URI to People requiring this whole AWS package just for that |
p.s. If you think it would be helpful, I'd be happy to add to the documentation something like: "Tip: If you only need to get things from a public S3 bucket, then you don't need this package; instead simply "? |
https://s3-eu-west-1.amazonaws.com/public.bitmex.com?delimiter=/&prefix=data/
I tried:
This gives me:
|
If it is useful, there are petabytes of open data in various formats in open S3 buckets listed at https://registry.opendata.aws/ |
Perhaps I am missing something, but I cannot find a way to query public bucket
Amazone states that "Every interaction with Amazon S3 is either authenticated or anonymous"
https://docs.aws.amazon.com/en_us/AmazonS3/latest/dev/MakingRequests.html
The text was updated successfully, but these errors were encountered: