fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

Add Managed Identity (MSI) support for Azure Logs Ingestion output plugin

Open hsubramanianaks opened this issue 5 months ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, the Azure Logs Ingestion output plugin in Fluent Bit does not support Azure Managed Identity (MSI) for authentication. This requires users to manage and provide client secrets or certificates, which is less secure and more complex in cloud environments where MSI is available.

Describe the solution you'd like Add support for using Azure Managed Identity (both system and user-assigned) in the Azure Logs Ingestion output plugin. If MSI is configured, the plugin should acquire tokens from the Azure Instance Metadata Service (IMDS) endpoint instead of Azure AD, similar to the implementation in the Azure Kusto output plugin. This should be controlled by a new config option (e.g., auth_type: managed_identity).

Describe alternatives you've considered

  • Continue using client ID/secret authentication (not preferred for cloud-native deployments).
  • Using workload identity or other federated identity mechanisms.

Additional context

  • The Azure Kusto output plugin already supports Managed Identity and can serve as a reference implementation.
  • Adding MSI support will improve security and ease of deployment for users running Fluent Bit on Azure resources.
  • No open issues or PRs currently track this enhancement.

hsubramanianaks avatar Aug 22 '25 13:08 hsubramanianaks

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] avatar Dec 08 '25 02:12 github-actions[bot]

Thanks for raising this @hsubramanianaks . Thanks @stefanoboriero for looking into this.

With the Azure Data Collector API scheduled for retirement in September 2026, we are working on migrating to the new Log Ingestion API. Unfortunately, the Fluent Bit output plugin does not yet support Azure Managed Identity (MSI), which is a blocker for us.

Could you share whether MSI support is planned for the next release, and if there is any tentative timeline for its availability?

thankyou

yaswanthvarma avatar Dec 08 '25 08:12 yaswanthvarma