Update keyvault uri
This commit is contained in:
parent
28f8cd7d55
commit
42017a13b9
@ -109,7 +109,7 @@ IConfiguration GetConfiguration()
|
||||
|
||||
if (config.GetValue<bool>("UseVault", false))
|
||||
{
|
||||
builder.AddAzureKeyVault(new Uri("<Vault URI>"), new DefaultAzureCredential());
|
||||
builder.AddAzureKeyVault(new Uri($"https://{config["Vault:Name"]}.vault.azure.net/"),new DefaultAzureCredential());
|
||||
}
|
||||
|
||||
return builder.Build();
|
||||
|
@ -94,7 +94,7 @@ IConfiguration GetConfiguration()
|
||||
|
||||
if (config.GetValue<bool>("UseVault", false))
|
||||
{
|
||||
builder.AddAzureKeyVault(new Uri("<Vault URI>"), new DefaultAzureCredential());
|
||||
builder.AddAzureKeyVault(new Uri($"https://{config["Vault:Name"]}.vault.azure.net/"),new DefaultAzureCredential());
|
||||
}
|
||||
|
||||
return builder.Build();
|
||||
|
@ -101,7 +101,7 @@ IConfiguration GetConfiguration()
|
||||
|
||||
if (config.GetValue<bool>("UseVault", false))
|
||||
{
|
||||
builder.AddAzureKeyVault(new Uri("<Vault URI>"), new DefaultAzureCredential());
|
||||
builder.AddAzureKeyVault(new Uri($"https://{config["Vault:Name"]}.vault.azure.net/"),new DefaultAzureCredential());
|
||||
}
|
||||
|
||||
return builder.Build();
|
||||
|
@ -70,7 +70,7 @@ IConfiguration GetConfiguration()
|
||||
|
||||
if (config.GetValue<bool>("UseVault", false))
|
||||
{
|
||||
builder.AddAzureKeyVault(new Uri("<Vault URI>"), new DefaultAzureCredential());
|
||||
builder.AddAzureKeyVault(new Uri($"https://{config["Vault:Name"]}.vault.azure.net/"),new DefaultAzureCredential());
|
||||
}
|
||||
|
||||
return builder.Build();
|
||||
|
@ -71,7 +71,7 @@ IConfiguration GetConfiguration()
|
||||
|
||||
if (config.GetValue<bool>("UseVault", false))
|
||||
{
|
||||
builder.AddAzureKeyVault(new Uri("<Vault URI>"), new DefaultAzureCredential());
|
||||
builder.AddAzureKeyVault(new Uri($"https://{config["Vault:Name"]}.vault.azure.net/"),new DefaultAzureCredential());
|
||||
}
|
||||
|
||||
return builder.Build();
|
||||
|
Loading…
x
Reference in New Issue
Block a user