-
Notifications
You must be signed in to change notification settings - Fork 815
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
blob/all: add an option to set a blob to be "public" #1108
Comments
Please edit the title of this issue with the name of the affected package, or "all", followed by a colon, followed by a short summary of the issue. Example: |
That's correct, there is no abstraction for it yet. We have not found a portable design to surface ACLs that does not violate the seam between developers and operators that Go Cloud tries to create. |
Can you give a bit more context on what you're trying to do? You have an AWS bucket, and you want to make some specific blobs in that bucket
|
If making specific blobs in a bucket publicly readable (but not the whole bucket) is common, we might be able to add support for that (without supporting other kinds of ACLs, which is difficult across providers). |
I'm making my whole bucket public in my case: https://github.com/kaihendry/picofeed Nonetheless a signed URL function, could be fun. I mean is there an API telling my the public URL for a Object? That would be useful, since I am always struggling to work that out. |
|
I'm going to change this issue to be about adding a new feature to be able to set a specific blob "public"; we'll see what the demand is for this before doing it. |
I use As function to do this but it’s useful to have an easier way to do this |
I did a bit of research on this. GCS
AWS S3
Azure
|
@kaihendry The bucket is presumed to be created and configured; the Azure blob driver does not create buckets. If you must create buckets, use bucket.As() to obtain the Azure SDK type and create the container with your desired settings. |
I'm puzzled how I can't find any gocloud.dev for this typical use case, so can I assume there is no abstraction for it yet?
https://stackoverflow.com/questions/54121278/how-to-set-public-read-using-go-cloud-s3blob
The text was updated successfully, but these errors were encountered: