Interface AzureFunctionsConfig.AuthConfig
- Enclosing interface:
AzureFunctionsConfig
public static interface AzureFunctionsConfig.AuthConfig
-
Method Summary
Modifier and TypeMethodDescriptionclient()Client or App Id required if using managed_identity typepath()Filesystem path to properties file if using file typetenant()Tenant ID required if using oauth2 or device_code typedefault com.microsoft.azure.toolkit.lib.auth.AuthConfigurationtype()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
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
-
path
Filesystem path to properties file if using file type -
client
Client or App Id required if using managed_identity type -
tenant
Tenant ID required if using oauth2 or device_code type -
toAuthConfiguration
default com.microsoft.azure.toolkit.lib.auth.AuthConfiguration toAuthConfiguration()
-