Generating a SAS for a DataLake Blob Directory
See original GitHub issueIn portal, I can click on a directory and generate a SAS for it and all it’s children recursively.
The Resource types for BlobSasBuilder
do not work. I also tried with DatalakeSasBuilder
or something like that, but I saw it is mainly used for file system? (correct me if I’m wrong).
How can I do the same using the .Net SDK?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 077b3fa5-15a2-e3a8-10f6-2bd25e001b09
- Version Independent ID: 85c7f2d2-d246-45a4-3e95-7abbbc207821
- Content: BlobSasBuilder.Resource Property (Azure.Storage.Sas) - Azure for .NET Developers
- Content Source: xml/Azure.Storage.Sas/BlobSasBuilder.xml
- Service: azure
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Create a service SAS for a blob with .NET - Azure Storage
Learn how to create a user delegation SAS for a blob with Azure Active Directory credentials by using the .NET client library for...
Read more >Create SAS token for Azure Data Lake directory in ...
I tried in my environment and got successfully created azure SAS token with policy: Initially I created access policy in portal like below:....
Read more >Transferring file directory/folder to Azure Blob Storage with ...
Step two: Generate your SAS token. The SAS tokens are what will allow you to perform the data transfer. They also detail what...
Read more >Connect to Azure Data Lake Storage Gen2 and Blob Storage
To create an Azure service principal and provide it access to Azure storage accounts, see Access storage with Azure Active Directory. To create...
Read more >31. Access ADLS Gen2 or Blob Storage using a SAS token in ...
In this video, I discussed about accessing ADLS gen2 or Blob Storage using SAS token in Azure Databricks Code used: ...
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
@gopala000
Please submit a new issue for the problem you are facing. That way your issue is not lost and is triaged and responded to promptly.
This is a closed issue. While you’re issue is getting a SAS to work on a List call.
Hi,
Our documentation writers wrote up this great document about DataLake that would help you understand the difference. https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction
Essentially just to answer your question, this would create a SAS for a DataLake Directory (not a SMB file share directory). When you have Hierarchical namespace (datalake) enabled, then the terminology changes to datalake file (not SMB file). This is because datalake works on top of blobs.