Why does the DataLakeServiceClient not support connection strings when all other clients do?
See original GitHub issueDescribe the bug
The overloads for the DataLakeServiceClient
does not have an overload that accepts a connection string.
All the other clients (.e.g. BlobContainerClient
) do have a connection string overload.
Expected behavior
Expose an overload for the DataLakeServiceClient
constructor that accepts a connection string.
Actual behavior (include Exception or Stack Trace) You currently only have the option of using a URI. This requires the setting up of additional IAM permissions and is inconsistent with the other providers.
Environment:
- Azure.Storage.Files.DataLake, Version=12.4.0.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
c# - Can i use connectionString instead of ...
Yes, you can create a DataLakeServiceClient using connectionString . The code is same as you second code sample.
Read more >Azure DataLake service client library for Python
Client creation with a connection string Create the DataLakeServiceClient using the connection string to your Azure Storage account.
Read more >Azure DataLake service client library for Python
To authenticate the client you have a few options: ... Alternatively, you can authenticate with a storage connection string using the from_connection_string ...
Read more >Azure SQL Database connection strings
Connection strings for Azure SQL Database. Connect using Microsoft.Data.SqlClient, SqlConnection, MSOLEDBSQL, SQLNCLI11 OLEDB, SQLNCLI10 OLEDB.
Read more >Python's azure-storage-file-datalake
Client creation with a connection string. Create the DataLakeServiceClient using the connection string to your Azure Storage account. from azure.storage.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, @sonic1981. My mistake during selection; the good news is that it routes to the same team. 😄
This still hasn’t been looked at by anyone