S3Manager.

GetPreSignedURL(string, string, DateTime, S3Settings) Method

Summary

Create a signed URL allowing access to a resource that would usually require authentication. cts
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Manager

Syntax

public string GetPreSignedURL(string key, string version, DateTime expires, S3Settings settings)

Parameters

Name Type Description
key string The key under which the Amazon S3 object is stored.
version string The identifier for the specific version of the object to be deleted, if required.
expires DateTime The expiry date and time for the pre-signed url.
settings S3Settings The S3Settings required to download from Amazon S3.

Return Value

Type Description
string