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

Read data from protected s3? #203

Closed
BioinfoTongLI opened this issue May 27, 2022 · 2 comments
Closed

Read data from protected s3? #203

BioinfoTongLI opened this issue May 27, 2022 · 2 comments

Comments

@BioinfoTongLI
Copy link

Hello there!

I am just wondering is it possible to parse s3 data which requires accessKey/secretKey?
I believe the error below is just a permission issue?

reader = Reader(parse_url("https://cog.sanger.ac.uk/webatlas/deleteme/raw_image/0/"))
[ERROR] 403, message='Forbidden', url=URL('https://cog.sanger.ac.uk/webatlas/deleteme/raw_image/0/.zgroup')

I couldn't find documentation about how to provide those keys to the parser.
Is it possible at all?

Best,
Tong

@joshmoore
Copy link
Member

I don't have a working example for HTTP access to private s3, but the fsspec code that's used should be able to connect. Configuration instructions are at https://filesystem-spec.readthedocs.io/en/latest/features.html#configuration

You can see my use of it here: fsspec/s3fs#273 (comment)

@joshmoore
Copy link
Member

@BioinfoTongLI : closing for now. Let us know if you are still having problems.

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