You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Audience

This document is meant for the maintainers of CMR and is considered DRAFT

Overview

Technical documentation of the types of tokens that pass thru CMR.

Tokens

TokenSourceConsumptionExampleNotes
LegacyLegacy-Services-H "Echo-Token: <token>"AF14A97A-A916-B45A-B7C9-31BBB73ECB99To be replaced with "Heritage" tokens.
"Heritage"EDL

-H "ECHO-Token: <token>"

-H "Authorization: Bearer <token>"?

EDL-AF14A97A-A916-B45A-B7C9-31BBB73ECB99 (?)Name coined by tcherry and may need a new name, soon to be created by EDL
JWTEDL

-H "ECHO-Token: <token>"

-H "Authorization: Bearer <token>"

<Base64-Text>.<Base64-Text>.<Base64-Text>Not yet implemented by EDL 
LaunchPadidmax.nasa.gov

-H "Echo-Token: <token>"

-H "Authorization: Bearer <token>"

something really long and ugly ; a SAML tokenthis

Questions

  • Can all tokens be sent with Echo-Token and Authorization headers?
  • Do other tokens need to be documented


Token Usage

curl -H "Echo-Token: AF14A97A-A916-B45A-B7C9-31BBB73ECB99" https://cmr.sit.earthdata.nasa.gov/search/collections/


Advance Token Usage

Acting as another user in CMR(?):

curl -H "Autherization: Bearer <token>, Basic <base64-encoded-creditials>" <application>
  • No labels