polars.CredentialProviderAzure
-
Azure Credential Provider.
Using this requires the
azure-identityPython package to be installed.Warning
This functionality is considered unstable. It may be changed at any point without it being considered a breaking change.
-
Initialize a credential provider for Microsoft Azure.
By default, this uses
azure.identity.DefaultAzureCredential().- Parameters:
-
- scopes
-
Scopes to pass to
get_token - tenant_id
-
Azure tenant ID.
- credential
-
Optionally pass an instantiated Azure credential class to use (e.g.
azure.identity.DefaultAzureCredential). The credential class must have aget_token()method.
__init__( *, scopes: list[str] | None = None, tenant_id: str | None = None, credential: Any | None = None, _storage_account: str | None = None, ) → NoneMethods
__init__(*[, scopes, tenant_id, credential, ...])Initialize a credential provider for Microsoft Azure.
clear_cached_credentials()retrieve_credentials_impl()Fetch the credentials.
Attributes
account_namescopestenant_idcredential -
class polars.CredentialProviderAzure(
*,
scopes: list[str] | None = None,
tenant_id: str | None = None,
credential: Any | None = None,
_storage_account: str | None = None,
)
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/api/polars.CredentialProviderAzure.html