Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managed Identity in Azure App Service support? #93

Open
joakimlemb opened this issue Apr 12, 2024 · 1 comment
Open

Managed Identity in Azure App Service support? #93

joakimlemb opened this issue Apr 12, 2024 · 1 comment

Comments

@joakimlemb
Copy link

joakimlemb commented Apr 12, 2024

https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Cdotnet#connect-to-azure-services-in-app-code

Is "ClientSecret" the only type of EntraID authentication supported for the "vnext" branch?

From the example/docs at https://www.nuget.org/packages/Serilog.Sinks.AzureLogAnalytics/ I can't find any information about System/User managed Identity in Azure.

If it is supported, can the doc be updated with an example for Managed Identity?

ref current available settings for EntraID auth:

  "Serilog": {
    "Using": [ "Serilog.Sinks.AzureLogAnalytics" ],
    "MinimumLevel": "Verbose",
    "WriteTo": [
      {
        "Name": "AzureLogAnalytics",
        "Args": {
          "credentials": {
            "endpoint": "https://****.****.ingest.monitor.azure.com",
            "immutableId": "dcr-****",
            "streamName": "Custom-****_CL",
            "tenantId": "****-****-****-****-****",
            "clientId": "****-****-****-****-****",
            "clientSecret": "*******"
          },
          "configSettings": {
            "bufferSize": "5000",
            "batchSize": "100"
          }
        }
      }
    ]
  }
}
@Ryan-Palmer
Copy link

Ryan-Palmer commented Dec 2, 2024

I just found that support was merged into vnext in February and is available on nuget
#87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants