Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Commit

Permalink
Make VaultProvider use API version 1
Browse files Browse the repository at this point in the history
The vault driver lib has a issue with vault resource pathing ref:
BetterCloud/vault-java-driver#189
Forcing use of version 1, which is the version on the resources nada-kafka-conenct uses atm, seems to solve the issue.
  • Loading branch information
sonhal committed Jun 25, 2020
1 parent 6f8122f commit dc6a4f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/no/nav/kafkaconnect/vault/VaultUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ private void init() throws VaultError {
VaultConfig vaultConfig = null;
try {
vaultConfig = new VaultConfig()
.engineVersion(1)
.address(getPropertyOrDefault("VAULT_ADDR", "https://vault.adeo.no"))
.token(getVaultToken())
.openTimeout(5)
Expand Down

0 comments on commit dc6a4f0

Please sign in to comment.