Description of changes:
The KMS client was being created using the SDK default credentials search. It needs to be created using the same credentials, region and proxy settings as the S3 client that is creating the KMS client.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: https://github.com/aws/amazon-s3-encryption-client-dotnet/issues/6
Description of changes: The KMS client was being created using the SDK default credentials search. It needs to be created using the same credentials, region and proxy settings as the S3 client that is creating the KMS client.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.