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

Make VaultProvider use API version 1 #2

Merged
merged 1 commit into from
Jun 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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