aws / amazon-s3-encryption-client-dotnet

An encryption client that allows you to secure your sensitive data before you send it to Amazon S3.
https://aws.github.io/amazon-s3-encryption-client-dotnet/
Apache License 2.0
15 stars 10 forks source link

Set KMS client timeout using S3Client Config so that a timeout set on… #32

Closed 1rjt closed 1 year ago

1rjt commented 2 years ago

… the S3Client also applies to the internal KMS client

Description

Set KMS Client config timeout from the S3 client config so that the setting applies to both the S3 client and internal KMS client.

Motivation and Context

Allows the S3 timeout to apply to the internal KMS client. E.g. lowering the S3 client timeout to abandon calls over say, 10 seconds is not possible because the internal KMS client will always call for 100 seconds as the default HttpClient timeout.

https://github.com/aws/amazon-s3-encryption-client-dotnet/issues/31

Testing

Screenshots (if appropriate)

Types of changes

Checklist

License

normj commented 1 year ago

This has been released as part of version 2.0.4. Thanks for the PR!