Open fabricebaranski opened 2 weeks ago
The feature was removed by #44220.
Could you use an environment variable?
AZURE_PASSWORD
may work: https://learn.microsoft.com/en-us/python/api/azure-identity/azure.identity.environmentcredential?view=azure-python
BTW, the error message is strange. Our Azure file system implementation doesn't use the az
command.
I had to install az
because otherwise I received an error because az
was not here.
I tried by setting AZURE_PASSWORD
, AZURE_STORAGE_ACCOUNT
or AZURE_STORAGE_KEY
(https://learn.microsoft.com/en-us/azure/storage/blobs/authorize-data-operations-cli#set-environment-variables-for-authorization-parameters) but it didn't work.
I tried also setting query parameter credential_kind
to environment
but I got
terminate called after throwing an instance of 'Azure::Core::Credentials::AuthenticationException'
what(): EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Aborted
Do you have any example to test FileSystem.from_uri
with Azurite?
I tested using fs.AzureFileSystem
and it works. But I need to use from_uri
so I don't know how to use it.
Describe the usage question you have. Please include as many useful details as possible.
I want to use fs.FileSystem.from_uri with azurite. Here a short sample of code:
The error I received is:
az: error: unrecognized arguments: --scope https://storage.azure.com/.default
How can I set account_key to be able to use FileSystem.from_uri?Component(s)
Python