S3Aliases.

GenerateEncryptionKey(ICakeContext, FilePath, int) Method

Summary

Generates a base64-encoded encryption key for Amazon S3 to use to encrypt / decrypt objects
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static void GenerateEncryptionKey(this ICakeContext context, FilePath filePath, int size)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
filePath FilePath The file path to store the key in.
size int The size in bits of the secret key used by the symmetric algorithm

Return Value

Type Description
void