Skip to content

Accessing an s3Credential endpoint that's not officially in EarthAccess package #482

Answered by betolink
wildintellect asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @wildintellect I think what you are looking for would be doable with earthaccess, ideally this would be the code:

fs = earthaccess.get_s3fs_session(endpoint="https://nisar.asf.alaska.edu/s3credentials")

which is basically a wrapper of the code you posted, the Auth class accepts custom endpoints for credentials but this has not been surfaced to the top level methods since all the results earthaccess deals with are coming from CMR.

I tried testing the S3 crdential endpoint and ran into an SSL certificate issue with the subdomain. I think we could work on this and release have it ready for the next version, most likely before the end of the month.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@wildintellect
Comment options

@jhkennedy
Comment options

@chuckwondo
Comment options

Answer selected by wildintellect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants