Skip to content

Commit

Permalink
Allow applying a read timeout to JDKVaultHttpClient
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubb authored and vsevel committed Mar 27, 2024
1 parent 82969c5 commit d1adf67
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ VaultClient createVaultClient(VaultHttpClient vaultHttpClient, VaultRuntimeConfi
var vaultClientBuilder = VaultClient.builder()
.baseUrl(config.url().orElseThrow(() -> new VaultException("no vault url provided")))
.executor(vaultHttpClient)
.requestTimeout(config.readTimeout())
.logConfidentialityLevel(config.logConfidentialityLevel());

configureAuthentication(vaultClientBuilder, config);
Expand Down

0 comments on commit d1adf67

Please sign in to comment.