Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6149

Azure EventHub Managed identities integration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0, 1.9.0
    • 1.12.0
    • Core Framework, Extensions
    • None

    Description

      Currently all event hub processors seem to use Shared Access Signature (SAS)tokens.  A emerging pattern (might be the dominate pattern) is to integrate with Managed identities for Azure resources.  Instead of NiFi using the Shared Access Token (SAS) token provider, NiFi should create a token provider for the managed identity with the following call:

       {{TokenProvider.CreateManagedServiceIdentityTokenProvider(ServiceAudience.EventHubAudience)}}call.

      As such, there are no secrets to save and use.

       

      Some of the above text copied from azure, giving azure docs proper credit.

       

      Code examples and full details on how applications (like NiFi) would integrate with Azure Managed Identities (Azure Active Directory).

      https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-managed-service-identity

       

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              sjyang18 Seokwon Yang
              SUNILEMANJEE@GMAIL.COM Sunile Manjee
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h