Interface AzureFunctionsConfig.AuthConfig

Enclosing interface:
AzureFunctionsConfig

public static interface AzureFunctionsConfig.AuthConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Client or App Id required if using managed_identity type
    Filesystem path to properties file if using file type
    Tenant ID required if using oauth2 or device_code type
    default com.microsoft.azure.toolkit.lib.auth.AuthConfiguration
     
    Description of each type can be found here Valid values are azure_cli Delegates to Azure CLI for login managed_identity Requires client to be set oauth2 Requires tenant to be set device_code Requires tenant to be set file Filesystem path to a property file that defines authentication.
  • Method Details

    • type

      @WithDefault("azure_cli") String type()
      Description of each type can be found here Valid values are
      • azure_cli Delegates to Azure CLI for login
      • managed_identity Requires client to be set
      • oauth2 Requires tenant to be set
      • device_code Requires tenant to be set
      • file
      • Filesystem path to a property file that defines authentication. Properties supported are
        • type Supports same type values as well as service_principal
        • client
        • tenant
        • key Password for service_principal if using password authentication
        • certificate Path to PEM file if using service_principal
        • certificate-password Password for PEM file if it is password protected and if using service_principal
        • environment if using service_principal
      Defaults to "azure_cli" for authentication
    • path

      Optional<String> path()
      Filesystem path to properties file if using file type
    • client

      Optional<String> client()
      Client or App Id required if using managed_identity type
    • tenant

      Optional<String> tenant()
      Tenant ID required if using oauth2 or device_code type
    • toAuthConfiguration

      default com.microsoft.azure.toolkit.lib.auth.AuthConfiguration toAuthConfiguration()