Constructs AmazonS3EncryptionClient with the Encryption materials and credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
public AmazonS3EncryptionClient( RegionEndpoint region, EncryptionMaterials materials )
The region to connect.
The encryption materials to be used to encrypt and decrypt envelope key.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5