Configuring different s3_resources using different credentials #3096
-
Hi, I need access to another company's s3 bucket. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The S3 resource is just a small amount of code around instantiating At this time, we just defer to |
Beta Was this translation helpful? Give feedback.
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-L51At 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.