Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Torkelsen committed Sep 27, 2024
1 parent cecfc34 commit d7c5235
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class TestController : ControllerBase
[HttpGet]
public ActionResult<string> Get()
{
return Ok("Hello from Azure v10");
return Ok("Hello from Azure v11");
}
}
}
6 changes: 3 additions & 3 deletions handlenett-backend/web-api/HandlenettAPI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@
.AddMicrosoftGraph(builder.Configuration.GetSection("MicrosoftGraph"))
.AddInMemoryTokenCaches();

builder.Configuration.AddAzureKeyVault(
new Uri($"https://{builder.Configuration["AzureKeyVaultNameProd"]}.vault.azure.net/"),
new DefaultAzureCredential());

builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();

builder.Configuration.AddAzureKeyVault(
new Uri($"https://{builder.Configuration["AzureKeyVaultNameProd"]}.vault.azure.net/"),
new DefaultAzureCredential());
//DefaultAzureCredential() is handled by enabling system assigned identity on container app and creating access policy in kv


Expand Down

0 comments on commit d7c5235

Please sign in to comment.