# ====== Globale Variablen ====== # Service Prinvipal # appId: bc062e91-deb8-4516-b3c8-ad0a0886f297 # tenant: 94cf90d7-e9ff-49a1-bc3b-a5b94d3cc8ca # secret: nTB8Q~D4MVWWE0ub19ZIu8e-bKV9b087Ptz4ideg # Variante 1: Client-Secret $spAppId = "bc062e91-deb8-4516-b3c8-ad0a0886f297" # aus create-for-rbac (appId) $spClientSecret = "nTB8Q~D4MVWWE0ub19ZIu8e-bKV9b087Ptz4ideg" # aus create-for-rbac (password) # Variante 2: Zertifikat (PEM mit Zertifikat+PrivateKey) # $spAppId = "" # $spCertPath = "C:\pfad\zertifikat+privatekey.pem" # Azure Basis $subscriptionId = "f1332eb1-392f-4b16-9ede-7905848ef248" # Deine Subscription $location = "westeurope" # Ressourcennamen (eindeutig) $rgName = "rg-koogle-prod" $appPlanName = "asp-koogle-prod" $webAppName = "KoogleWeb20251231130827" # global eindeutig $sqlServerName = "sql-koogle-prod" # global eindeutig $sqlDbName = "db-koogle" $keyVaultName = "kv-koogle-prod" # global eindeutig $appInsightsName = "ai-koogle-prod" # Custom Domain $domain = "koogle.straso.com" # Ziel-Subdomain # App/Projekt $projectPath = "src/Koogle.Web/Koogle.Web.csproj" # Pfad zu .csproj $runtimeStack = "DOTNETCORE:9.0" # Linux .NET 9 - prüfen, welche Pläne verfügbar sind: az webapp list-runtimes --os linux # AAD Admin für SQL Server (bestehender Benutzer oder Gruppe) # ObjectId = ID aus Entra ID; Display = Anzeigename $aadAdminObjectId = "70f83097-e12a-48a6-96b4-15760268c994" # für SQL AAD-Admin (admin-d-chrka@krah-gruppe.de) $aadAdminDisplay = "Admin D-Chrka" # z.B. 'Christian Kauer'