Using R2 component with S3 credentials
Hey I saw that the R2 component uses S3 under the hood and have tried to set it up with S3 credentials. I don't think S3 requires endpoints so is there a way to omit that or does any one know how to get an S3 endpoint that will work?
Loving Convex so far 🙂
4 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Check the first paragraph in the R2 docs for S3 compatibility, it describes the endpoint: https://developers.cloudflare.com/r2/api/s3/api/
Cloudflare Docs
S3 API compatibility
R2 implements the S3 API to allow users and their applications to migrate with ease. When comparing to AWS S3, Cloudflare has removed some API operations' features and added others. The S3 API operations are listed below with their current implementation status. Feature implementation is currently in progress. Refer back to this page for updates...
Thats the R2 endpoint still
I need the S3 endpoint because I want to use S3 with the R2 component not R2
Ah I see - it's built to work with R2 currently, haven't looked at direct S3 compatibility