we have one bucket contain data of multi clients, separated by "folders" (of course its not really folders, but keys..) we want to sync data from each folder to the clients bucket, by rsync, for that the client supply us a "service-account" with access to his bucket, the problem is, how can we restrict that service-account to read only from the specific folder?
e.g.
my_bucket/client1/data
my_bucket/client2/data
client1-service-account should be able to list+read from: my_bucket/client1/*