Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API support to check if public access is allowed for a R2 bucket #1132

Open
Subhajit97 opened this issue Nov 23, 2022 · 2 comments
Open

Comments

@Subhajit97
Copy link

Current cloudflare-go version

Latest

Description

I am trying to fetch my R2 bucket details using the API and following the docs below.
Configure aws-sdk-go for R2
S3 API compatibility

I am trying to get the bucket public access data but didn't find any API that gives any of this data. I have configured my bucket to allow public access. Is there any API using which we can say that the bucket allows public access or similar to that?

Use cases

I have configured my bucket to allow public access from the Cloudflare dashborad. There should be an API that will return if my bucket allows public access and the public bucket URL for that bucket.

Potential cloudflare-go usage

If you can add an API that returns some detail about public access and the public bucket URL of the bucket.

References

No response

@jacobbednarz
Copy link
Member

there isn't a public API for this so it is not available to check at the moment.

@Subhajit97
Copy link
Author

Thanks, @jacobbednarz, for the update. Excited to see more API support in the upcoming releases 🙂.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants