Spec-Zone.ru › Polars

polars.CredentialProviderAzure

class polars.CredentialProviderAzure(
    *,
    scopes: list[str] | None = None,
    tenant_id: str | None = None,
    credential: Any | None = None,
    _storage_account: str | None = None,
)

Azure Credential Provider.

Using this requires the azure-identity Python package to be installed.

Warning

This functionality is considered unstable. It may be changed at any point without it being considered a breaking change.

__init__(
    *,
    scopes: list[str] | None = None,
    tenant_id: str | None = None,
    credential: Any | None = None,
    _storage_account: str | None = None,
) → None

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 a get_token() method.

Methods

__init__(*[, scopes, tenant_id, credential, ...])

Initialize a credential provider for Microsoft Azure.

clear_cached_credentials()

retrieve_credentials_impl()

Fetch the credentials.

Attributes

account_name

scopes

tenant_id

credential

© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/api/polars.CredentialProviderAzure.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API