---
title: "Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket"
method: POST
path: "/w/{workspace}/job_helpers/duckdb_connection_settings"
tags: ["helpers"]
---

# Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket

`POST /w/{workspace}/job_helpers/duckdb_connection_settings`

## Path parameters

- `workspace` string, required

## Request body

- object
  - `s3_resource` S3Resource
    - `bucket` string, required
    - `region` string, required
    - `endPoint` string, required
    - `useSSL` boolean, required
    - `accessKey` string
    - `secretKey` string
    - `pathStyle` boolean, required

## Response `200`

Connection settings

- object
  - `connection_settings_str` string

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/bccfbf688a26/schema)
