Signature Not Valid when using AmazonS3 createPreSignedURL() function

January 6, 2018 129 views
Object Storage

We are developing a Laravel application and using default AmazonS3 driver to upload and access files on DO Spaces bucket, for security purpose we are uploading resources as private.

Using Laravel Amazon S3 driver file upload works fine, but when we try to create a signed URL using $s3Client->createPresignedRequest() function to access the private resources it gives us "SignatureNotValid" error. The same function works fine on AmazonS3 private resources.

Be the first one to answer this question.