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.
- Microsoft Planetary Computer
- Microsoft Azure Storage Account for Blob Containers
Create a class inheriting BaseClassMiddleware and implement the sign_href method