## Description We started using `xhttp.Client` for aws config in #9322 to add the Insecure option. But with this client, the `aws-sdk` cannot connect to `IMDS` to get credentials. ## Solution Use the aws [BuildableClient](https://github.com/aws/aws-sdk-go-v2/blob/97af390629f8f407c02953061cf2d4a4cfabf63c/aws/transport/http/client.go#L43) with the Insecure option. ### Discussed in https://github.com/aquasecurity/trivy/discussions/9429