Back

_APP_STORAGE_DEVICE=s3

  • 0
  • Self Hosted
  • Web
zivkaziv95
11 May, 2024, 17:05

Hey, I'm trying to check the option for s3 storage devide, and I have couple of questions that I didn't find an answer for:

  1. Do I have to set values on _APP_STORAGE_S3_ACCESS_KEY and _APP_STORAGE_S3_SECRET, in my case, I'm using IAM role which give me write and read access to the bucket. Without it I got AuthorizationHeaderMalformed error
  2. Is there an option to set some prefix? - in my case I would like to have 2 different apps that will use the same bucket, and add some kind of prefix for each one of them

Thanks Ziv

TL;DR
- Developer wants to set `s3` as the storage device for an app - Questions about setting `_APP_STORAGE_S3_ACCESS_KEY` and `_APP_STORAGE_S3_SECRET` - Wants to know if there's an option to set a prefix for different apps sharing the same bucket Solution: 1) Yes, values for `_APP_STORAGE_S3_ACCESS_KEY` and `_APP_STORAGE_S3_SECRET` are required when using IAM role for read/write access. 2) There's no built-in option to set prefixes for different apps sharing the same bucket.
Steven
11 May, 2024, 17:49

I'm pretty sure some folders will have the project id in it. You can't have separate buckets though

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more