Skip to content

Commit

Permalink
Fix the Azure KeyVault credentials (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
glucaci authored Nov 14, 2023
1 parent 9c1b71c commit 689bcce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100-rc.2.23502.2",
"version": "8.0.100",
"rollForward": "latestMinor"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static void ExitException(this IConsoleLogger logger, ExitException excep
{
logger.Error("Confix failed.");
logger.Information($"[red]{exception.Message}[/]");
logger.TraceException(exception);
logger.TraceException(exception.InnerException ?? exception);
}

public static void PrintHelp(this IAnsiConsole console, ExitException exception)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public AzureKeyVaultProvider(AzureKeyVaultProviderConfiguration configuration)
}

public AzureKeyVaultProvider(AzureKeyVaultProviderDefinition definition)
: this(new SecretClient(new Uri(definition.Uri), new DefaultAzureCredential()))
: this(new SecretClient(new Uri(definition.Uri), new AzureCliCredential()))
{
}

Expand Down

0 comments on commit 689bcce

Please sign in to comment.