chore(consumers.json): Im Projektverzeichnis erstellt und zur Konfiguration hinzugefügt.

This commit is contained in:
Developer 02 2025-01-15 09:41:06 +01:00
parent a14ada60b4
commit 6553104f8d
2 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,9 @@
var builder = WebApplication.CreateBuilder(args);
var config = builder.Configuration;
builder.Configuration.AddJsonFile("consumers.json", true, true);
// Add services to the container.
builder.Services.AddControllers();
@ -22,4 +26,4 @@ app.UseAuthorization();
app.MapControllers();
app.Run();
app.Run();

View File

@ -0,0 +1,12 @@
{
"Consumers": [
{
"Name": "WorkFlow.API",
"Password": "t3B|aiJ'i-snLzNRj3B{9=&:lM5P@'i<>L"
},
{
"Name": "DigitalData.UserManager.API",
"Password": "a098Hvu1-y29ep{KPQO]#>8TK+fk{O`_d"
}
]
}