[PR #6127] OpenDAL S3 parameter support #3687

Open
opened 2026-02-05 05:40:00 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6127
Author: @txase
Created: 8/3/2025
Status: 🔄 Open

Base: mainHead: s3-params


📝 Commits (1)

  • bfb6084 OpenDAL S3 parameter support

📊 Changes

1 file changed (+121 additions, -9 deletions)

View changed files

📝 src/config.rs (+121 -9)

📄 Description

This change allows s3:// data paths to include additional parameters as querystrings. The default parameters remain optimized for the official AWS S3 service, but any OpenDAL S3 parameters can be set. For example, to override the default true value for enable_virtual_host_style you can set the data config to:

s3://my-bucket?enable_virtual_host_style=false

Boolean parameters can be set to true by simply adding the parameter:

s3://my-bucket?enable_versioning

Fixes #6112


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/6127 **Author:** [@txase](https://github.com/txase) **Created:** 8/3/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `s3-params` --- ### 📝 Commits (1) - [`bfb6084`](https://github.com/dani-garcia/vaultwarden/commit/bfb60846c93fd6e1c7f52e03a12002bea6c43173) OpenDAL S3 parameter support ### 📊 Changes **1 file changed** (+121 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/config.rs` (+121 -9) </details> ### 📄 Description This change allows s3:// data paths to include additional parameters as querystrings. The default parameters remain optimized for the official AWS S3 service, but any OpenDAL S3 parameters can be set. For example, to override the default `true` value for `enable_virtual_host_style` you can set the data config to: s3://my-bucket?enable_virtual_host_style=false Boolean parameters can be set to `true` by simply adding the parameter: s3://my-bucket?enable_versioning Fixes #6112 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 05:40:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3687