Can S3 Laravel Disk be pointed at a specific folder within a bucket
use can use something like this
's3-public' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID', 'your-key'),
'secret' => env('AWS_SECRET_ACCESS_KEY', 'your-secret'),
'region' => env('AWS_DEFAULT_REGION', 'your-region'),
'bucket' => env('AWS_BUCKET', 'your-bucket'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'root' => 'test/public'
],
's3-private' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID', 'your-key'),
'secret' => env('AWS_SECRET_ACCESS_KEY', 'your-secret'),
'region' => env('AWS_DEFAULT_REGION', 'your-region'),
'bucket' => env('AWS_BUCKET', 'your-bucket'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'root' => 'test/private'
],
you can use same bucket for this two disks but files save to different folder