laurilehmijoki/s3_website

S3 listObjects is iterating through whole bucket

kzonov opened this issue · 0 comments

Hello, thank you for your library!

We're using it to publish sites to S3 with different prefixes.
So we wanted to fine-tune our permissions on the S3 level to isolate those different websites (they are published from different microservices' builds) and came across this comment:

* We could filter the keys by prefix already on S3, but unfortunately s3_website test infrastructure does not currently support testing of that.
which hinders us from making the permissions to be isolated.
Also, I would assume that reading all the files could cause performance issues in case of a huge amount of them.

Do you maybe have some plans for improving it?