method AzureBlobProvider.prototype.getSignedUrl
AzureBlobProvider.prototype.getSignedUrl(
path: string,
options: { expiresIn: number; }
): Promise<string>

Creates a SAS URL for an Azure Blob.

Parameters

path: string

Object key

options: { expiresIn: number; }

Expiry in seconds

Return Type

Promise<string>

The SAS URL

Throws

Error

When no account key is configured

Usage

import { AzureBlobProvider } from "storage-plugin/src/index.ts";