question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generating a SAS for a DataLake Blob Directory

See original GitHub issue

In portal, I can click on a directory and generate a SAS for it and all it’s children recursively. image

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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
amnguyecommented, Oct 13, 2021

@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.

1reaction
amnguyecommented, Jul 28, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found