Skip to content

Commit

Permalink
fix: Add .default to azure credential provider scope URL (#20651)
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion authored Jan 10, 2025
1 parent 239d7c8 commit 06362a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py-polars/polars/io/cloud/credential_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ def __init__(
self.credential = importlib.import_module("azure.identity").__dict__[
"DefaultAzureCredential"
]()
self.scopes = scopes if scopes is not None else ["https://storage.azure.com/"]
self.scopes = (
scopes if scopes is not None else ["https://storage.azure.com/.default"]
)
self._verbose = _verbose

if self._verbose:
Expand Down

0 comments on commit 06362a0

Please sign in to comment.