We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

S3: Files are not made public

Roman October 20, 2020 by Roman

Hello there,

if I try to upload a file to s3, I am getting this error:

Error executing "PutObject" on ... resulted in a 403 Forbidden response:

This is my config:

        's3' => [
            'driver' => 's3',
            'key' => env('AWS_ACCESS_KEY_ID'),
            'secret' => env('AWS_SECRET_ACCESS_KEY'),
            'region' => env('AWS_DEFAULT_REGION'),
            'bucket' => env('AWS_BUCKET'),
            'url' => env('AWS_URL'),
            'endpoint' => env('AWS_ENDPOINT'),
            'visibility' => 'public'

The user I created in IAM has been added using AmazonS3FullAccess.

>>>>>>> Unanswered <<<<<<<
1 Reply