akka / alpakka

Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
https://doc.akka.io/docs/alpakka/current/
Other
1.26k stars 646 forks source link

Add anonymous access to S3 #90

Open agolubev opened 7 years ago

agolubev commented 7 years ago

Currently, there is only API for authenticated access

timothyklim commented 7 years ago

Now you can pass as an argument to do that:

import akka.stream.alpakka.s3.acl.CannedAcl
s3Client.multipartUpload(bucket, key, cannedAcl = CannedAcl.PublicRead)
agolubev commented 7 years ago

Basically, ticket was about removing AWSCredentials and region from S3 constructor as it's redundant for anonymous access (when object is available with public read)