-
Notifications
You must be signed in to change notification settings - Fork 92
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
Allow environment variable login to work with requesting s3 credentials #435
Comments
Thanks for the issue @xaviernogueira. Does Depending on what you're doing, you might also try some of the high-level APIs like |
FWIW I've definitely used |
@jrbourbeau thanks! Also nice work with dask and zarr (I see you are a contributor), two of my favorite libraries! I will be at the NYC Zarr sprint in Febuary, maybe I'll catch you there? |
@jrbourbeau also note that your documentation is slightly inccorect for |
Could you point me to where in the docs you're seeing this? FWIW there's the top level
Glad to hear it! Unfortunately I won't be able to make it, but I hope it's a good time! |
I've added a documentation label because we need to explain what can and cannot be done at the moment as well as explain better how to do these tasks. |
Context: We are working in an cloud-based (AWS) pipeline, where one does not have write permissions (i.e., we can't make netrc files). The environment variable login is our only choice, as manual input is also a non-option.
Problem: While env variable login works with search data, we are searching for data in one lambda function, passing the granule info as JSON to another, and then downloading the data in a different lambda function. The issue here is we need to be able to download or read the data from just the links. Therefore the first step as documented here is to send a
requests.get()
to get our temporary s3 credentials. However, the S3 credentials endpoint does not work with the env variable login pattern!Is there a workaround or something?
The text was updated successfully, but these errors were encountered: