Add the possibility to fully customize client otpions

Created on 27 August 2025, about 1 month ago

Problem/Motivation

Thanks for your simple but powerfull integration of aws s3 client. This module could provide a way to fully customize client's options to use this module with other providers than AWS.

We need to be able to change the endpoint, maybe the version :

/**
 * @see https://stackoverflow.com/a/71709116/9266823
 */ 
$client = new Aws\S3\S3Client([
    'version' => 'latest',
    'region' => 'bucketregion', //eg. 'fr-par'
    'credentials' => [
        'key'    => 'your access key',
        'secret' => 'your secret key',
    ],
    'endpoint' => 'http://mybucket.s3.fr-par.scw.cloud',
    'bucket_endpoint' => true
]);

Steps to reproduce

Try to use the module to access a bucket on another provider than AWS.

Proposed resolution

We can imagine having a new "endpoint" variable, but I think a fully customisable option array would be an overall solution that can cover all needs (If we need to touch the version for example).

Remaining tasks

  • Decide what solution would be better
  • Implement it
✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France colin.eininger

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024