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

Commit dc6a4f0

Browse files
committed
Make VaultProvider use API version 1
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.
1 parent 6f8122f commit dc6a4f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/no/nav/kafkaconnect/vault/VaultUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ private void init() throws VaultError {
6464
VaultConfig vaultConfig = null;
6565
try {
6666
vaultConfig = new VaultConfig()
67+
.engineVersion(1)
6768
.address(getPropertyOrDefault("VAULT_ADDR", "https://vault.adeo.no"))
6869
.token(getVaultToken())
6970
.openTimeout(5)

0 commit comments

Comments
 (0)