Skip to content

Commit 23876b2

Browse files
Update app/backend/Extensions/KeyVaultConfigurationBuilderExtensions.cs
Co-authored-by: David Pine <[email protected]>
1 parent 5a9b478 commit 23876b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/backend/Extensions/KeyVaultConfigurationBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ internal static class KeyVaultConfigurationBuilderExtensions
66
{
77
internal static IConfigurationBuilder ConfigureAzureKeyVault(this IConfigurationBuilder builder)
88
{
9-
var azureKeyVaultEndpoint = Environment.GetEnvironmentVariable("AZURE_KEY_VAULT_ENDPOINT") ?? "https://kv-dpxla4sqz7uok.vault.azure.net/";
9+
var azureKeyVaultEndpoint = Environment.GetEnvironmentVariable("AZURE_KEY_VAULT_ENDPOINT") ?? throw new InvalidOperationException("Azure Key Vault endpoint is not set.");
1010
ArgumentNullException.ThrowIfNullOrEmpty(azureKeyVaultEndpoint);
1111

1212
builder.AddAzureKeyVault(

0 commit comments

Comments
 (0)