Shared Access Signature (SAS) Tokens for GeoCatalog Asset Access

generate a SAS Token for the given Azure Blob storage account and container.

Changed on

Generate a SAS Token for the given storage account and container. The storage account and container must be associated with a Planetary Computer dataset indexed by the STAC API.

get/sas/token/{collectionId}

Request

  • Base URL
    {endpoint}
  • URL
    {endpoint}/sas/token/{collectionId}
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: https://geocatalog.spatio.azure.com/.default

Path parameters

collectionIdstring required

The name of the Collection that the SAS token will be issued for.

Query parameters

api-versionstring required

The API version to use for this operation.

durationinteger

The duration, in minutes, that the SAS token will be valid. Only valid for approved users.

Response

Successful Response

msft:expirystring date-time required

The expiration date and time of the SAS token in UTC.

tokenstring required

The SAS token string used for authentication.

Changes

  • 2025-04-30-preview5ac1a8504c7fRevision changes
    • info

      api tag Shared Access Signature (SAS) Tokens for GeoCatalog Asset Access added

    • info

      api tag Shared Access Signature (SAS) Tokens to use with Azure SDKs removed

  • 2025-04-30-preview5ac1a8504c7fRevision changes
    • info

      api tag Shared Access Signature (SAS) Tokens for GeoCatalog Asset Access added

    • info

      api tag Shared Access Signature (SAS) Tokens to use with Azure SDKs removed