-
Notifications
You must be signed in to change notification settings - Fork 59
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
Comments
That would be great to use docker aws-localstack as well. |
It would be great. This may allow the use of the extension with minio object storage service (https://min.io). |
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. |
You can extends class Service and add on init method add |
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',
],
The text was updated successfully, but these errors were encountered: