nasa / eo-metadata-tools

eo-metadata-tools is a set of repositories for working with Earth Observation metadata. At its core are common libraries and demonstration scripts for accessing the Common Metadata Repository, to be accompanied by more specific modules and scripts to do dataset-specific queries, metadata validation, etc...
Apache License 2.0
25 stars 11 forks source link

CMR-6796 - initial commit of the auth token code #3

Closed jceaser closed 3 years ago

jceaser commented 3 years ago

CMR-6796 - EOSDIS ticket for creating the initial token code

This code will allow the caller to request an EDL token from the CMR service.

test with the following:

import cmr.auth.token as t
edl_token = t.token("edl_user_id", t.password("clear_text_password"))
jceaser commented 3 years ago

@jaybarra - don't do this for me, lets pair up and you walk me through it so I know how.

daniel-zamora commented 3 years ago

These commit statements need to be cleaned up.

daniel-zamora commented 3 years ago

Approved as long as there isn't 30+ commit messages for this.