Browse Source

make env variables for aws

Taylor Otwell 7 years ago
parent
commit
7cf27b2146
1 changed files with 4 additions and 4 deletions
  1. 4 4
      config/filesystems.php

+ 4 - 4
config/filesystems.php

@@ -57,10 +57,10 @@ return [
 
         's3' => [
             'driver' => 's3',
-            'key' => 'your-key',
-            'secret' => 'your-secret',
-            'region' => 'your-region',
-            'bucket' => 'your-bucket',
+            'key' => env('AWS_KEY'),
+            'secret' => env('AWS_SECRET'),
+            'region' => env('AWS_REGION'),
+            'bucket' => env('AWS_BUCKET'),
         ],
 
     ],