Dropshare User Guide

Search for answers to your questions by entering keywords below, or look through our knowledge base.

Contact Support | Community | Video Tutorials

How to set up Amazon S3 or S3 API-compatible connections

Terraform

See this official aws-ia repository to learn how to set up Dropshare with S3 and CloudFront with Terraform.

Manual Setup

To create an Amazon S3 connection in Dropshare for Mac, first enter the preferences. Switch to the Connection tab, and create a new or use an existing connetion.

Select the Amazon S3 tab for your connection, and enter all required information:

 

Bucket Name

Enter the name of the bucket you created in the Amazon S3 Console. You can optionally also enter a subfolder in that given bucket, e.g. bucketname/foldername

The bucket needs to be public so files can be downloaded by URL. Scroll down to learn how to set it up.

Access Key ID

Enter the AWS Access Key ID you obtained

Secret Key

Enter the AWS Access Secret Key you obtained

Region

Select the bucket's region.

Domain Alias

Optional: Enter your bucket's domain alias. This requires a CNAME record to be set. (Learn more)

Storage Class Choose between Standard, Reduced Redundancy or Intelligent Tiering.
Misc
  • Choose whether to use HTTPS connections to Amazon S3
  • Choose whether to use Path-Style URLs
    • s3.amazonaws.com/bucketname/file.jpg instead of bucketname.s3.amazonaws.com/file.jpg
  • Choose whether to omit the ACL header (does not set files to public by default)

 

Press Save to update your information. We recommend to test the connection to make sure Dropshare is able to connect to Amazon S3 and successfully upload files.

Learn how to set up a restricted IAM user for Dropshare

In case you want to create an access restricted IAM user for Dropshare instead of using the general Access / Secret Keys for your AWS account, navigate to the IAM Users page on the AWS console. Create a new user there, and copy & paste the Access / Secret keys to your Dropshare connection.

Once the user is created, create a User Policy with the following JSON:

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

Replace BUCKETNAME with the name of the bucket you created for Dropshare. You should now be able to use an access restricted IAM user for Dropshare.

Allow public access to a bucket with ACL disabled

To configure public read access for the bucket, in order to have downloadable files via the public S3 url, you need to set up the following bucket settings:

First, allow Public Access under the Permissions settings, section "Block public access".

Then, configure the following Bucket policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "PublicReadGetObject",
      "Effect": "Allow",
      "Principal": "*",
      "Action": [
        "s3:GetObject"
      ],
      "Resource": [
        "arn:aws:s3:::BUCKETNAME/*"
      ]
    }
  ]
}

Use a Public Access disabled (e.g. when using CloudFront)

In order to allow Dropshare to upload to a bucket that has Public Access disabled altogether, e.g. when using CloudFront to serve the files from your bucket, please check the Omit ACL Header option in the connection preferences.

S3 API-compatible services

Last updated:

Was this article helpful?
4 out of 15 found this helpful

If the article was not helpful, please tell us how we can improve! 🙏