method IStorage.getSignedUrl
IStorage.getSignedUrl(
path: string,
): Promise<string>

Creates a time-limited URL granting direct access to an object.

Parameters

path: string

Object path/key

URL validity

Return Type

Promise<string>

The signed URL

Usage

import { type IStorage } from "common/src/index.ts";