---
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/v2/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/v2/polars_connection_settings`

## Path parameters

- `workspace` string, required

## Request body

- object
  - `s3_resource_path` string

## Response `200`

Connection settings

- object
  - `s3fs_args` object, required
    - `endpoint_url` string, required
    - `key` string
    - `secret` string
    - `use_ssl` boolean, required
    - `cache_regions` boolean, required
    - `client_kwargs` PolarsClientKwargs, required
      - `region_name` string, required
  - `storage_options` object, required
    - `aws_endpoint_url` string, required
    - `aws_access_key_id` string
    - `aws_secret_access_key` string
    - `aws_region` string, required
    - `aws_allow_http` 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/153e19312d41/schema)
