diff --git a/src/Illuminate/Filesystem/FilesystemManager.php b/src/Illuminate/Filesystem/FilesystemManager.php index 7e53642175ec..a30548eb5978 100644 --- a/src/Illuminate/Filesystem/FilesystemManager.php +++ b/src/Illuminate/Filesystem/FilesystemManager.php @@ -127,10 +127,8 @@ public function createLocalDriver(array $config) */ public function createS3Driver(array $config) { - $s3Config = array_only($config, ['key', 'region', 'secret', 'signature']); - return $this->adapt( - new Flysystem(new S3Adapter(S3Client::factory($s3Config), $config['bucket'])) + new Flysystem(new S3Adapter(S3Client::factory($config), $config['bucket'])) ); }