You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is anyone using the AWS S3 adaptor with ACL set to anything other than the default? When trying to use it with something like authenticated-read I don't get a signed response back. This seems to be down to the fact the following code doesn't specify an expiry;
/**
* Return the url for a file upload.
*
* @param string $styleName
* @return string
*/
public function url($styleName)
{
return $this->s3Client->getObjectUrl($this->attachedFile->s3_object_config['Bucket'], $this->path($styleName));
}
Which based on my reading of the AWS docs is needed to get a pre-signed url which I believe is needed for anything other than public read.
Has anyone else had this issue? More than happy to make the required changes but wasn't convinced I correctly understood the code base.
The text was updated successfully, but these errors were encountered:
Apologies for re-awakening an old issue, but rather than starting a new one when this is still open - I have a fork with expiring-url functionality. I am happy to prepare a pull request if it would be helpful?
Is anyone using the AWS S3 adaptor with ACL set to anything other than the default? When trying to use it with something like authenticated-read I don't get a signed response back. This seems to be down to the fact the following code doesn't specify an expiry;
Which based on my reading of the AWS docs is needed to get a pre-signed url which I believe is needed for anything other than public read.
Has anyone else had this issue? More than happy to make the required changes but wasn't convinced I correctly understood the code base.
The text was updated successfully, but these errors were encountered: