AuthScheme Parameter (Connect-ADLS Cmdlet)
The type of authentication to use when connecting to Azure Data Lake Storage.
Syntax
Connect-ADLS -AuthScheme string
Possible Values
AzureMSI, Auto, AccessKey, AzureAD, SAS, AzureServicePrincipal, AzureServicePrincipalCertData Type
cstr
Default Value
"Auto"
Remarks
- Auto: Lets the CData Cmdlets PowerShell Module for Azure Data Lake Storage determine what to do based on other connection properties.
- AzureAD: Set this to perform Azure Active Directory OAuth authentication.
- AzureServicePrincipal: Set this to authenticate as an Azure Service Principal.
- AzureServicePrincipalCert: Set this to authenticate as an Azure Service Principal using a Certificate.
- AzureMSI: Set this to automatically obtain Managed Service Identity credentials when running on an Azure VM.
- AccessKey: Set this to authenticate the calls to the API by setting the AccessKey to your Access Key. This is applicable only for the ADLSGen2 Schema.
- SAS: Set this to authenticate the calls to the API by setting the SharedAccessSignature to your Shared Access Signature (SAS). This is applicable only for the ADLSGen2 Schema.