[PR #397] The s3 signature_version supports transparent passing of environment #485

Open
opened 2026-02-16 01:16:07 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/397
Author: @Jint-Tian
Created: 7/12/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (2)

  • 0a29cd0 The s3 signature_version supports transparent passing of environment
  • 5797433 default v4

📊 Changes

2 files changed (+2 additions, -0 deletions)

View changed files

📝 internal/server/server.go (+1 -0)
📝 internal/types/app/config.go (+1 -0)

📄 Description

Enhanced S3 Configuration Support

This update enhances the S3 storage configuration in the internal/server/server.go and internal/types/app/config.go files by introducing support for the S3SignatureVersion parameter. The changes include:

  • Added S3SignatureVersion to the initOSS function in internal/server/server.go to pass the signature version configuration to the OSS setup.
  • Extended the Config struct in internal/types/app/config.go with a new field S3SignatureVersion string, defaulting to "v4", allowing flexible specification of the S3 signature version.

These modifications enable better customization of S3 storage operations, providing support for different signature versions to enhance compatibility and flexibility.


🔄 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/langgenius/dify-plugin-daemon/pull/397 **Author:** [@Jint-Tian](https://github.com/Jint-Tian) **Created:** 7/12/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`0a29cd0`](https://github.com/langgenius/dify-plugin-daemon/commit/0a29cd0d27f19f85bf452d01e5f5d139bf44679c) The s3 signature_version supports transparent passing of environment - [`5797433`](https://github.com/langgenius/dify-plugin-daemon/commit/57974335dad5f3c35ce49c399ec6bd1e4835045b) default v4 ### 📊 Changes **2 files changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `internal/server/server.go` (+1 -0) 📝 `internal/types/app/config.go` (+1 -0) </details> ### 📄 Description # Enhanced S3 Configuration Support This update enhances the S3 storage configuration in the `internal/server/server.go` and `internal/types/app/config.go` files by introducing support for the `S3SignatureVersion` parameter. The changes include: - Added `S3SignatureVersion` to the `initOSS` function in `internal/server/server.go` to pass the signature version configuration to the OSS setup. - Extended the `Config` struct in `internal/types/app/config.go` with a new field `S3SignatureVersion string`, defaulting to `"v4"`, allowing flexible specification of the S3 signature version. These modifications enable better customization of S3 storage operations, providing support for different signature versions to enhance compatibility and flexibility. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#485