diff --git a/crates/polars-io/src/cloud/options.rs b/crates/polars-io/src/cloud/options.rs index e1a0ffe4e49..6ddb262d144 100644 --- a/crates/polars-io/src/cloud/options.rs +++ b/crates/polars-io/src/cloud/options.rs @@ -471,7 +471,7 @@ impl CloudOptions { return Ok(store); } - let cfg_use_account_key = std::env::var("POLARS_ALLOW_AZURE_ACCOUNT_KEY"); + let cfg_use_account_key = std::env::var("POLARS_AUTO_AZURE_ACCOUNT_KEY"); let cfg_use_account_key = cfg_use_account_key.as_deref(); if verbose { @@ -492,15 +492,15 @@ impl CloudOptions { [CloudOptions::build_azure]: Warning: Azure authentication check failed, subsequent cloud \ operations may return an error. Note that polars was able to retrieve the storage account \ key for this URL from the Azure CLI - to allow polars to automatically use storage account \ -keys for authentication, set POLARS_ALLOW_AZURE_ACCOUNT_KEY=1 in the environment. To silence \ -this warning, set POLARS_ALLOW_AZURE_ACCOUNT_KEY=0. +keys for authentication, set POLARS_AUTO_AZURE_ACCOUNT_KEY=1 in the environment. To silence \ +this warning, set POLARS_AUTO_AZURE_ACCOUNT_KEY=0. " ) }); } else if verbose { eprintln!( "[CloudOptions::build_azure]: Storage account key authentication disabled \ - (POLARS_ALLOW_AZURE_ACCOUNT_KEY=0)" + (POLARS_AUTO_AZURE_ACCOUNT_KEY=0)" ); }