Skip to content

How to setup Wasabi Cloud

ninacoder-info edited this page Jan 17, 2021 · 5 revisions

NOTE: You can't use wasabi trial account with the script. Wasabi do not allow you public and stream the file if you are trial. You have to add your credit card to active your wasabi.

Step 1. Open your .env, add following lines. Remember to edit with wasabi API and secret key

WASABI_ACCESS_KEY_ID=

WASABI_SECRET_ACCESS_KEY=

WASABI_DEFAULT_REGION=

WASABI_BUCKET=

WASABI_URL=

Your .env should look like

Screen Shot 2020-10-17 at 06 40 37

Open config/filesystem.php, add this.

'wasabi' => [

        `'driver' => 'wasabi',`

        `'key' => env('WASABI_ACCESS_KEY_ID'),`

        `'secret' => env('WASABI_SECRET_ACCESS_KEY'),`

        `'region' => env('WASABI_DEFAULT_REGION', 'eu-central-1'),`

        `'bucket' => env('WASABI_BUCKET'),`

        `'root' => env('WASABI_ROOT', '/'),`

        `'url' => env('WASABI_URL'),`

    `]`

Your config/filesystem.php should look like this image below. Screen Shot 2020-10-17 at 06 35 19