AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Constructs AmazonS3EncryptionClient with AWS Access Key ID, Secret Key, SessionToken AmazonS3EncryptionClient CryptoConfiguration object and Encryption materials.

Namespace: Amazon.S3.Encryption
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public AmazonS3EncryptionClient(
         String awsAccessKeyId,
         String awsSecretAccessKey,
         String awsSessionToken,
         AmazonS3CryptoConfiguration config,
         EncryptionMaterials materials
)

Parameters

awsAccessKeyId
Type: System.String

AWS Access Key ID

awsSecretAccessKey
Type: System.String

AWS Secret Access Key

awsSessionToken
Type: System.String

AWS Session Token

config
Type: Amazon.S3.Encryption.AmazonS3CryptoConfiguration

The AmazonS3EncryptionClient CryptoConfiguration Object

materials
Type: Amazon.S3.Encryption.EncryptionMaterials

The encryption materials to be used to encrypt and decrypt envelope key.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5