Access ShareClient using ClientSecretCredential #11492
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
feature-request
This issue requires a new behavior in the product in order be resolved.
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
Milestone
Currently it is possible to access
azure.storage.blob.ContainerClient
usingazure.identity.ClientSecretCredential
. However, unless I am missing something, to accessazure.storage.fileshare.ShareClient
we need to provide an SAS token or an account key (which might be difficult to acquire).It would be great if we could pass the same credentials that we use to access
ContainerClient
to access theShareClient
(it would also increase the consistency between the interfaces).The text was updated successfully, but these errors were encountered: