-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make DefaultAzureCredential as default credential method instead of anonymous access? #348
Comments
+1, that would be great. |
xref #250, where this was implemented but then reverted. I think we can do this, but we'll need a deprecation cycle. I was somewhat worried that this would be too noisy of a deprecation, but if we think that the majority of users are specifying So +1 to deprecating the current default with a [edit]: One slight modification: this would need to interact carefully with a SAS token in the URL. From the azure docs:
|
Is there any way to move this forward? There are some libraries that do not expose fsspec storage options because they assume the anon=False logic like in s3, and I suppose azure is not their main target audience. As a workaround would it be possible to add an env option to disable anon access before we transition to anon=False by default? |
I'm with @JoostvDoorn, this is a bit of a headache. There needs to be some mechanism to override this without explicit access to the storage options until the default can be changed. Either an env variable or some override in the URL itself. |
For those interested in this fsspec/filesystem_spec#1194 provides a generic alternative solution (make sure to update fsspec as it's pretty recent addition). You can pass a default argument to FSSPEC for specific implementations through an env variable as follows: os.environ["FSSPEC_ABFS"] = """
{
"anon": false
}
""" I'll be closing my PR (#393) as it's not getting any traction. |
Hi there
what do you think of making DefaultAzureCredential as the default credential method instead of anonymouns access because I think that is the most common use case.
The text was updated successfully, but these errors were encountered: