RKuttruff opened a new pull request, #312:
URL: https://github.com/apache/sdap-nexus/pull/312

   This PR augments the configurations of Zarr (and eventually future) 
collections.
   
   Initially, collections in non-public S3 buckets needed to be provided an 
Access Key ID and Secret Access Key pair:
   
   ```yaml
   config:
     aws:
       accessKeyID: <secret>
       secretAccessKey: <secret>
       public: false
   ```
   
   Obviously, this is not ideal as long-term AWS keys are not only directly 
stored, but also need to be maintained by end users. This PR allows more 
options in defining AWS credentials.
   
   ## Profiles
   
   You can use credentials defined in AWS named profiles:
   
   ```yaml
   config:
     aws:
       profile: <profile name>
   ```
   
   ## NASA DAAC Temporary S3 credentials
   
   NASA DAACs make their data available for direct S3 access for running in the 
`us-west-2` region. You can utilize this by specifying the credential endpoint 
or by picking from a list of predefined DAACs.
   
   **NOTE: This only works if running in the `us-west-2` AWS region. A check 
will be made to see in SDAP is running in that region and these collections 
will be excluded if not**
   
   
   ```yaml
   config:
     earthdata:
       endpoint: https://api.giovanni.earthdata.nasa.gov/s3credentials
   ```
   
   ```yaml
   config:
     earthdata:
       daac: podaac
   ```
   
   An Earthdata login is required for this. Provide either `EDL_USERNAME` and 
`EDL_PASSWORD` environment variables or specify the login on a per-collection 
basis:
   
   ```yaml
   config:
     earthdata:
       daac: gesdisc
       edl_username: <user>
       edl_password: <pass>
   ```
   
   Predefined DAACs:
   - podaac
   - podaac-swot
   - gesdisc
   - lpdaac
   - obdaac
   - nsidc
   - laads
   - asfdaac
   - asfdaac-sentinel1
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sdap.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to