Skip to main content

AzureBlobStorageConfig

AzureBlobStorageConfig represents the configuration that will be used if storage type is Azure within the client usage.
It composes of container, endpoint and credentials.

Each instance is produced automatically when creating a new rac-delta client with azure storage type.

User will need to provide Azure auth to configuration to work.


Structure

pub struct AzureBlobStorageGenericConfig {
pub base: BaseStorageConfig,
pub container: String,
pub endpoint: String,
pub account_url: String,
pub credential: Arc<dyn AzureStorageCredential>,
}

pub trait AzureStorageCredential: Any + Debug + Send + Sync {
fn as_any(&self) -> &dyn Any;
}

Properties

PropertyTypeDescription
baseBaseStorageConfigExtended base configuration.
containerStringContainer name of the storage.
endpointStringEndpoint to the Azure storage.
account_urlStringAccount url for auth.
credentialArc<dyn AzureStorageCredential>Credential to use, must implement azure auth TokenCredential.