S3SettingsExtensions.

SetSessionToken<T>(T, string) Method

Summary

Specifies the AWS Session Token to use as credentials.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3SettingsExtensions

Syntax

public static T SetSessionToken<T>(this T settings, string token) where T : S3Settings

Type Parameters

Name Description
T

Parameters

Name Type Description
settings T The S3 settings.
token string The AWS Session Token.

Return Value

Type Description
T The same S3Settings instance so that multiple calls can be chained.