Laravel 5.4 S3 Download Bucket file upload

When uploading a file using s3 bucket, I get below.

(1/1) InvalidArgumentException
Missing required client configuration options: 

My S3 Array in config/filesystems.php file

's3' => [
            'driver' => 's3',
            'key' => env("S3_KEY",'mykey'),
            'secret' => env("S3_SECRET",'my_secret'),
            'region' => env("S3_REGION",'my_region'),
            'bucket' => env("S3_BUCKET",'my_bucket')
        ],  

      

I think the problem is with the Above s3 array. let me fix it.

+3


source to share





All Articles