Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn committed Apr 19, 2023
1 parent b35bd33 commit 71f84d4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ private static void UpdateLocalConfiguration(

Console.WriteLine("Loading configuration with vault token");

var response = FetchVaultConfig(applicationName, partName, environment, vaultToken);
var response =
FetchVaultConfig(applicationName, partName, environment, vaultToken, vaultUrl);

if (response is not var (cypher, iv))
{
Expand Down Expand Up @@ -228,11 +229,12 @@ private static void UpdateLocalConfiguration(
string applicationName,
string partName,
string environment,
string vaultToken)
string vaultToken,
string vaultUrl)
{
try
{
var client = VaultClientFactory.CreateClient(vaultToken);
var client = VaultClientFactory.CreateClient(vaultUrl);
var ct = CancellationToken.None;
var response = client
.GetAsync(applicationName, partName, environment, vaultToken, ct)
Expand Down

0 comments on commit 71f84d4

Please sign in to comment.