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

# Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket

`POST /w/{workspace}/job_helpers/polars_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
  - `endpoint_url` string, required
  - `key` string
  - `secret` string
  - `use_ssl` boolean, required
  - `cache_regions` boolean, required
  - `client_kwargs` PolarsClientKwargs, required
    - `region_name` string, required

---

[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/4ca37a00d296/schema)
