lib Module

Low-level calls to REST end-points.

Specific interfaces to the Data-lake Store filesystem layer and authentication code.

Classes

DataLakeCredential
DatalakeRESTInterface

Call factory for webHDFS endpoints on ADLS

Functions

auth

User/password authentication

auth(tenant_id=None, username=None, password=None, client_id='04b07795-8ddb-461a-bbee-02f9e1bf7b46', client_secret=None, resource='https://datalake.azure.net/', require_2fa=False, authority=None, retry_policy=None, **kwargs)

Parameters

tenant_id
str
default value: None

associated with the user's subscription, or "common"

username
str
default value: None

active directory user

password
str
default value: None

sign-in password

client_id
str
default value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46

the service principal client

client_secret
str
default value: None

the secret associated with the client_id

resource
str
default value: https://datalake.azure.net/

resource for auth (e.g., https://datalake.azure.net/)

require_2fa
bool
default value: False

indicates this authentication attempt requires two-factor authentication

authority
string
default value: None

The full URI of the authentication authority to authenticate against (such as https://login.microsoftonline.com/)

kwargs
<xref:<xref:key/values>>
default value: None

Other parameters, for future use

Return type

<xref:<xref:type DataLakeCredential :mod: *A DataLakeCredential object*>>