# Setup Wasabi S3 as file repository

Instructions how to setup a Wasabi bucket as file repository

# Pre-requirements

You need to have a Wasabi account. If not, you can register here wasabi.com (opens new window)

# Setup Guide

This guide will walk you through the creation of a bucket, the configuration of the bucket and the creation of a user, before it helps you to configure it in psono.

# Create bucket

  1. Login to console.wasabisys.com

  2. In the right menu click "Buckets"

Step 2 Click Create Bucket

  1. Specify a name and region

Step 3 Specify name and region

TIP

Remember the region and the name of the bucket. You will need it later.

  1. Continue to click next till you click "Create"

Step 4 Finally create bucket

# Create Policy

  1. Click on policies and then "Create Policy"

Step 1 Create Policy

  1. Specify Details

Specify a name and the following policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "GrantFullAccessToPsonoupload",
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
        "arn:aws:s3:::psonoupload",
        "arn:aws:s3:::psonoupload/*"
      ]
    }
  ]
}

TIP

Don't forget to adjust the policy and use your bucket name.

Step 2 Specify policy details

  1. Click "Create Policy"

# Create user

  1. Go to "Users" and click "Create User"

Step 1 Create User

  1. Specify user details

Specify a name and allow "Programmatic (create API keys)". Then click "Next"

Step 2 Specify User Details

  1. Add policy to user

Search for the Policy that we did create previously and add it to the user.

Step 3 Add policy to user

  1. Review and create user

Step 4 Review and create user

  1. Take note of API key

There should be now a screen showing you the API key that was created for that user. Write down the Access Key and the Secret Key. (The easiest is to use the Copy Keys To Clipboard and paste it into Notepad)

Step 5 Review and create user

# Configure the file repository

  1. Login to Psono

Step 1 Login to Psono

  1. Go to "Other"

Step 2 Go to other

  1. Go to "File Repositories" and click the + Symbol

Step 3 Go to "File Repositories" and click the + Symbol

  1. Configure the file repository

Use any descriptive title, select "Other S3 compatible storage" as type, add your bucket's name, url, access key and secret.

Step 4 Configure the file repository

You can now upload files from the datastore to this file repository.