Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the option to set the S3Client Endpoint property #37

Open
nurielmeni opened this issue Oct 12, 2018 · 4 comments
Open

Add the option to set the S3Client Endpoint property #37

nurielmeni opened this issue Oct 12, 2018 · 4 comments

Comments

@nurielmeni
Copy link

In order to make other services that uses the S3 api to be contacted via this extension.
for example:
's3' => [
'class' => 'frostealth\yii2\aws\s3\Service',
'credentials' =>
'key' => 'My-Key',
'secret' => 'My-Secret',
],
'endpoint' => "https://myendpoint.com",
'region' => 'endpoitregion',
'defaultBucket' => 'defaultbucket',
'defaultAcl' => 'public-read',
],

@MoVoDesign
Copy link

That would be great to use docker aws-localstack as well.

@dupotey
Copy link

dupotey commented May 1, 2021

It would be great. This may allow the use of the extension with minio object storage service (https://min.io).

@DBX12
Copy link

DBX12 commented May 17, 2021

I added a fix to the bp-sys fork. I would open a PR to this repo too, but as my fork is from bp-sys, I would also introduce changes from there.

If there is interest in this fix by the maintainers, I can fork this project as well and PR the fix.

@SerikK
Copy link

SerikK commented Aug 12, 2021

You can extends class Service and add on init method add $this->clientConfig['endpoint'] = 'https://';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants