Alter Ego Docs Get started
DocsStorage

Amazon S3 and compatible

Keep your Alter Ego memory in a bucket on Amazon S3 or an S3-compatible service.

Alter Ego asks for the bucket, the region and how it may sign in. It works with Amazon S3 and S3-compatible services such as Cloudflare R2, Backblaze B2, MinIO and Hetzner Object Storage.

Sign in#

  • An IAM role (Amazon S3 only). There is no key to store. You create a role in your AWS account with the permissions policy and the trust policy shown on the page (the trust policy holds an external id for your connection), and enter its ARN. Alter Ego assumes that role for an hour at a time.
  • An access key. Enter the key with its secret and an optional endpoint. Create the key for that bucket only, with read, write, delete and list permissions.

Leave the endpoint empty for Amazon S3, or enter an https address such as https://fsn1.your-objectstorage.com for an S3-compatible service. Addresses that point to an internal network are refused.

Encryption and folder#

You can choose the server-side encryption: the default AES256 on Amazon S3, aws:kms with an optional KMS key, or none. You choose the folder as with Azure Blob Storage: Alter Ego by default, or empty for the top of the bucket.

The details are checked once by writing and removing a small test file, and then kept sealed in the encrypted sign-in store.

Disconnect#

Delete the access key at your storage provider, or the IAM role. Alter Ego can then no longer reach your storage. See Disconnect and revoke.