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 us-west-2 check to API and improve auth repr #424

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Prev Previous commit
Merge branch 'main' into aws-check
  • Loading branch information
JessicaS11 committed Feb 19, 2024
commit ca7e90715333512ef150d2195f14d004abf51c06
8 changes: 3 additions & 5 deletions earthaccess/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,10 @@ def get_s3_credentials(
The easier way is to use the DAAC short name; provider is optional if we know it.

Parameters:
provider: A valid cloud provider, each DAAC has a provider code for their cloud distributions
daac: the name of a NASA DAAC, i.e. NSIDC or PODAAC
endpoint: getting the credentials directly from the S3Credentials URL
daac: The name of a NASA DAAC, e.g. NSIDC or PODAAC.
provider: A valid cloud provider. Each DAAC has a provider code for their cloud distributions.
endpoint: Getting the credentials directly from the S3Credentials URL.

Returns:
A Python dictionary with the temporary AWS S3 credentials

Returns:
A Python dictionary with the temporary AWS S3 credentials.
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.