Class StandardAzureCredentialsControllerService

java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.services.azure.StandardAzureCredentialsControllerService
All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent, org.apache.nifi.controller.ControllerService, AzureCredentialsService

@Tags({"azure","security","credentials","provider","session"}) @CapabilityDescription("Provide credentials to use with an Azure client.") public class StandardAzureCredentialsControllerService extends org.apache.nifi.controller.AbstractControllerService implements AzureCredentialsService
Provides credentials used by Azure clients.
See Also:
  • AbstractControllerService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.nifi.components.PropertyDescriptor
     
    private com.azure.core.credential.TokenCredential
     
    static org.apache.nifi.components.AllowableValue
     
    static org.apache.nifi.components.AllowableValue
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    private static final List<org.apache.nifi.components.PropertyDescriptor>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.credential.TokenCredential
     
    private com.azure.core.credential.TokenCredential
     
    private com.azure.core.credential.TokenCredential
    getManagedIdentityCredential(org.apache.nifi.controller.ConfigurationContext context)
     
    protected List<org.apache.nifi.components.PropertyDescriptor>
     
    void
    onConfigured(org.apache.nifi.controller.ConfigurationContext context)
     
     

    Methods inherited from class org.apache.nifi.controller.AbstractControllerService

    abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabled

    Methods inherited from class org.apache.nifi.components.AbstractConfigurableComponent

    customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.nifi.components.ConfigurableComponent

    getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate

    Methods inherited from interface org.apache.nifi.controller.ControllerService

    initialize, isStateful, migrateProperties
  • Field Details

    • DEFAULT_CREDENTIAL

      public static org.apache.nifi.components.AllowableValue DEFAULT_CREDENTIAL
    • MANAGED_IDENTITY

      public static org.apache.nifi.components.AllowableValue MANAGED_IDENTITY
    • CREDENTIAL_CONFIGURATION_STRATEGY

      public static final org.apache.nifi.components.PropertyDescriptor CREDENTIAL_CONFIGURATION_STRATEGY
    • MANAGED_IDENTITY_CLIENT_ID

      public static final org.apache.nifi.components.PropertyDescriptor MANAGED_IDENTITY_CLIENT_ID
    • PROPERTIES

      private static final List<org.apache.nifi.components.PropertyDescriptor> PROPERTIES
    • credentials

      private com.azure.core.credential.TokenCredential credentials
  • Constructor Details

    • StandardAzureCredentialsControllerService

      public StandardAzureCredentialsControllerService()
  • Method Details

    • getSupportedPropertyDescriptors

      protected List<org.apache.nifi.components.PropertyDescriptor> getSupportedPropertyDescriptors()
      Overrides:
      getSupportedPropertyDescriptors in class org.apache.nifi.components.AbstractConfigurableComponent
    • getCredentials

      public com.azure.core.credential.TokenCredential getCredentials() throws org.apache.nifi.processor.exception.ProcessException
      Specified by:
      getCredentials in interface AzureCredentialsService
      Throws:
      org.apache.nifi.processor.exception.ProcessException
    • onConfigured

      @OnEnabled public void onConfigured(org.apache.nifi.controller.ConfigurationContext context)
    • getDefaultAzureCredential

      private com.azure.core.credential.TokenCredential getDefaultAzureCredential()
    • getManagedIdentityCredential

      private com.azure.core.credential.TokenCredential getManagedIdentityCredential(org.apache.nifi.controller.ConfigurationContext context)
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.nifi.components.AbstractConfigurableComponent