AzureStorageConfig
Module: azure_config
Description
Section titled “Description”Azure storage configuration container.
Fields
Section titled “Fields”| Field | Type |
|---|---|
storage_account |
str |
tenant_id |
Optional[str] |
dotenv_path |
Optional[Path] |
client_id |
Optional[str] |
client_secret |
Optional[str] |
device_code_client_id |
Optional[str] |
AzureStorageConfig.storage_endpoint()
Section titled “AzureStorageConfig.storage_endpoint()”storage_endpoint(self) -> strThe blob endpoint URL derived from the storage account.
AzureStorageConfig.from_env()
Section titled “AzureStorageConfig.from_env()”from_env(cls) -> 'AzureStorageConfig'Build Azure configuration from the process environment.
AzureStorageConfig.from_env_file()
Section titled “AzureStorageConfig.from_env_file()”from_env_file(cls, path: Union[str, Path]) -> 'AzureStorageConfig'Load Azure configuration from a dotenv file.
| Argument | Type | Description |
|---|---|---|
path |
Union[str, Path] | Path to the dotenv file to load. May be absolute or relative; the file must exist. |
