Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jan 10, 2025
1 parent 1cbdba3 commit 4301bd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/polars-io/src/cloud/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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)"
);
}

Expand Down

0 comments on commit 4301bd8

Please sign in to comment.