martin-sucha / ide-dynamic-secrets

Plugin to use Hashicorp Vault secrets in IntelliJ Platform-based IDEs
Apache License 2.0
10 stars 1 forks source link

Proxy support #1

Open martin-sucha opened 3 years ago

martin-sucha commented 3 years ago

Because the plugin now uses Ktor instead of the client built in the platform, IDE's proxy settings are not used. We switched to Ktor so that the requests can be canceled in all phases of the request (there doesn't seem to be a way to interrupt java.net.URLConnection#getInputStream programmatically) and so that we can use LIST HTTP method (not supported by builtin client). Ktor CIO engine seems to support only HTTP proxies now, though.