method
bun.S3File.presign
): string;
Generates a presigned URL for the file. The URL grants temporary access to the file without exposing credentials.
@param options
Configuration for the presigned URL
@returns
Presigned URL string
// Basic download URL
const url = file.presign({
expiresIn: 3600 // 1 hour
});