Skip to content

Proxy application which sits between STAC-FastAPI and end user which is used to put auth tokens on download urls

Notifications You must be signed in to change notification settings

SpatialDays/stac-fastapi-assets-signing-proxy

Repository files navigation

STAC-FastAPI-Assets-Signing-Proxy

Flask Middleware software which intercepts requests to the STAC-API and appends/changes the HREF keys for the assets to be a pre-signed URL. This allows for the STAC-API to be seamlessly used with assets stored in private storage buckets/accounts.

Currently supported signing middleware

  • Microsoft Planetary Computer
  • Microsoft Azure Storage Account for Blob Containers

How to make a new signing middleware

Create a class inheriting BaseClassMiddleware and implement the sign_href method

About

Proxy application which sits between STAC-FastAPI and end user which is used to put auth tokens on download urls

Resources

Stars

Watchers

Forks

Packages

No packages published