Use tokio::process to allow timeouts to occur (#3052)
## Motivation and Context The existing credentials provider was a DOS risk and didn't obey timeout settings because it used `std::timeout::spawn` but relied on a async-based timeout mechanism. ## Description - Use `tokio::process` instead - introduce new cargo feature ## Testing - unit test ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates - [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Loading
Please register or sign in to comment