← All guides

Backup and mount guide

How to Encrypt Files in Amazon S3 Before Upload (Client-Side, End-to-End)

S3's default encryption won't save you from a misconfigured bucket. Learn how to encrypt files client-side before they reach Amazon S3 with OurClone.

Local-first Desktop app No command line
Overview

Amazon S3 encrypts every object at rest by default β€” with keys AWS manages. That protects the data center, not your bucket: the long history of S3 data leaks is a history of access misconfiguration, where server-side encryption made no difference at all. OurClone's Encrypted Remote encrypts file names and contents on your computer before upload, so even a wide-open bucket leaks nothing but ciphertext.

Why S3's Own Encryption Isn't the Whole Story

Amazon S3 applies server-side encryption to every new object by default. It sounds like the problem is solved β€” but look at how S3 data actually leaks, and server-side encryption almost never features in the story.

  • πŸ”‘ AWS holds the keys β€” with SSE-S3 (the default) and even SSE-KMS, decryption happens transparently on AWS's side for any principal with access. Encryption at rest protects disks, not access paths.
  • 🌍 Misconfigured buckets are the real breach story β€” years of headline S3 leaks trace back to public buckets and over-broad policies. When access is wrong, server-side encryption hands out plaintext to whoever asks.
  • 🧾 IAM sprawl is hard to audit β€” roles, bucket policies, ACLs and access points interact in ways that are easy to get subtly wrong, especially across accounts and teams.
  • πŸ› οΈ Client-side encryption exists, but for developers β€” AWS's encryption SDKs solve this properly, if you're writing code. For files you just want to store, that's a steep price.
  • πŸ“„ Buckets accumulate sensitive exports β€” database dumps, logs, invoices, customer files. Exactly the material you don't want one policy typo away from public.

What OurClone's Encrypted Vault Actually Does

OurClone's Encrypted Remote gives you client-side encryption on S3 without touching an SDK. It wraps your bucket in a password-only layer: what leaves your computer is already ciphertext.

  • πŸ” Encrypted before upload β€” files are encrypted on your machine; S3 only ever stores ciphertext, regardless of bucket policy.
  • πŸ•΅οΈ Object keys hidden too β€” file names and contents are both encrypted; a bucket listing shows only scrambled strings.
  • πŸ”‘ Your password is the only key β€” it never enters AWS; no IAM principal, however privileged, can decrypt the vault.
  • 🧰 Open format, not lock-in β€” built on rclone crypt, an open and documented standard.
  • πŸ“ One prefix, not the whole bucket β€” the vault lives under a folder/prefix you pick; other objects and workloads in the bucket stay untouched.
  • βš™οΈ Behaves like a normal remote β€” transfer into it, sync it, mount it, or use it as a backup destination.

The Encrypted Remote is an OurClone Pro feature, and a vault always wraps a plain remote β€” nesting vaults isn't supported.

How to Create an Encrypted Vault on Amazon S3

You'll need an access key pair; everything else happens inside OurClone.

  • πŸ” Connect to Amazon S3 via Access Keys β€” Open OurClone and go to Add. Select Amazon S3, then enter your Access Key ID and Secret Access Key (created in the AWS IAM console) plus your region. Already connected for backups? Skip ahead.
  • 🧭 Open the Encryption Category β€” In the Add page, the Encryption section sits above the provider grid. Click the Encrypted Remote card (marked Pro).
  • OurClone Add page showing the Encryption category with the Pro Encrypted Remote card
  • πŸ› οΈ Create the Vault β€” Name it (e.g. s3-encrypted), pick your S3 remote as the base storage, then choose or create a folder inside a bucket β€” the vault must live in a folder, not the root, and only that prefix will hold encrypted objects. Set your password (plus an optional salt password for extra filename obfuscation) and click Create Encrypted Remote.
  • OurClone New Encrypted Remote dialog with name, base remote picker, folder selector, password fields and optional salt password
  • πŸ“¦ Move Files Into the Vault β€” Open Migrate, choose a local folder (or another cloud) as the source and the vault as the destination, then run a copy, move, or sync. Objects are encrypted on the fly as they upload.
  • OurClone Migrate page with a local source folder selected and a destination
  • πŸ“Š Watch It in the Task Center β€” The Task tab shows live progress, speed and any failed files, and history survives app restarts.
  • OurClone Task Center showing transfer tasks with progress

Before uploading anything that matters: store the vault password in a password manager. Losing it means the data is gone for good β€” for you and everyone else.

Check What's Actually in the Bucket Now

Open the S3 console (or any S3 browser) and list the vault prefix: scrambled object keys, no previews, downloads that open as binary noise. If that prefix were ever exposed by a bad policy, this is all anyone would get.

In OurClone, the vault carries a lock badge and the Manage page shows your real file names, decrypted locally. You can also mount the vault as a local drive and browse it in Finder or File Explorer (requires macFUSE on macOS or WinFsp on Windows).

Frequently Asked Questions

Is the encrypted vault free?

No β€” it's an OurClone Pro feature. Connecting S3, transfers and backups work on the free plan within its limits; see pricing.

How is this different from SSE-S3 or SSE-KMS?

Server-side encryption decrypts transparently for anyone AWS's access control lets in β€” the security boundary is still IAM. The vault's key lives only on your devices, so access mistakes expose ciphertext, not data.

What if I forget the vault password?

The data is permanently unreadable, by design. No reset, no backdoor β€” store it in a password manager.

What is the salt password?

An optional second password that strengthens file-name obfuscation. If set, both are required to read the vault β€” guard them equally.

Can other workloads keep using the bucket?

Yes. The vault claims one prefix. Applications, static assets and pipelines using other prefixes are unaffected.

Does this work with S3-compatible services too?

Yes β€” the same vault works on any S3-compatible remote you connect in OurClone: Backblaze B2, Cloudflare R2, Wasabi, MinIO, DigitalOcean Spaces and others.

Summary

With OurClone's Encrypted Remote (Pro, built on rclone crypt), an S3 bucket prefix becomes an end-to-end encrypted vault: client-side encryption without writing a line of SDK code. Files are encrypted before upload, your password is the only key, and IAM mistakes stop being data breaches.

Try OurClone free

Connect your clouds, transfer across them, mount remotes as local folders, and create encrypted restic backups from one desktop app.

See Free vs Pro plans →