Skip to content

Configuring different s3_resources using different credentials #3096

Answered by alangenfeld
szalai1 asked this question in Q&A
Discussion options

You must be logged in to vote

The S3 resource is just a small amount of code around instantiating boto3 https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-aws/dagster_aws/s3/utils.py#L32-L51

At this time, we just defer to boto3 to auth via env vars or files and do not have any way to pass in creds. You could send a PR to add that capability, likely by adding an optional config section https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-aws/dagster_aws/s3/resources.py#L7-L31 or write your own resource def.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@szalai1
Comment options

Answer selected by szalai1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants