AWS SDK Version 3 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.

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

Namespace: Amazon.S3.Encryption
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

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 Standard:
Supported in: 1.3

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