akka / akka/alpakka

Use more explicit settings for S3 operations

Open
#2,139 3 comments 0 reactions 0 assignees View on GitHub
discussion p:aws-s3
Dominant language
Scala
Stars
1.3k
Forks
630
Avg merge
8h 14m
Merged PRs (30d)
5

Description

It would be nice if the s3 connector didn't default to the `DefaultAWSCredentialsProviderChain` and instead took an implicit `S3Settings` for each operation. Similar to how standard library operations take an implicit `ExecutionContext`, users could simply import something like `akka.stream.alpakka.s3.S3Settings.implicit.default` if they want the default.

If not, this makes it easier to pass custom settings like `S3.download(bucket, bucketKey)(customSettings)` or define their own implicit (in my case, settings from `application.conf`.

Either way, an explicit action makes it more clear what's happening from reading the code without having to go to the documentation.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the S3 connector operations and their current credential and settings resolution. Compare the requested implicit S3Settings approach with the existing implicit ExecutionContext pattern; done means the supported operations make settings explicit or consistently use an implicit default, with behavior documented and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, scala
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.