Closed yngfoxx closed 3 months ago
https://github.com/cshum/imagor?tab=readme-ov-file#different-aws-credentials-for-s3-loader-storage-and-result-storage The current environment variable supports different s3 credentials from s3 loader, storage or result storage respectively, but it currently does not support multiple s3 loaders of different credentials.
However if being able to construct the imagor server via code, it is actually straightforward to stack up multiple instances of S3 loaders of different credentials: https://github.com/cshum/imagor/blob/master/examples/server/main.go#L22
Great Idea, will work around that!
The environment variable only takes one bucket name as
S3_LOADER_BUCKET
, is it possible to have imagor use different buckets with same or different S3 credentials?