R2 temporary token for a bucket
Hey, I'm coming with an AWS background. I'm trying R2 out and need help.
How can I let the user interact with my data directly from/to R2 client side? On AWS I can use STS to generate temporary limited credentials for a specific bucket or even object (folder), how can I do the same for R2?
4 Replies
Signed URLs is per file concept, I may want to let me user upload 5,000 files at once, with presigned url I'll need to generate 5,000 signed URLs . Then for reading these files I will need to do the same.
Also what's the maximum presigned url expiration I can do with R2?
Presigned URLs are directly compatible/the same signature method as S3 so share most of the same limits if I remember correctly
Got it thank you!
Also what's the maximum presigned url expiration I can do with R2?7 days, same as AWS