Questions tagged [azure-sas]

A shared access signature (SAS) provides secure delegated access to resources in your storage account without compromising the security of your data. With a SAS, you have granular control over how a client can access your data. You can control what resources the client may access, what permissions they have on those resources, and how long the SAS is valid.

71 questions
35
votes
7 answers

How to get a Shared Access Signature on a Blob using the latest Azure SDK .NET API v12?

I used to be able to create a shared access signature on a Blob using the v11 Azure SDK API, like this: var containerName = "mycontainer"; var blobName = "myblob"; CloudStorageAccount storageAccount =…
Kzryzstof
  • 7,688
  • 10
  • 61
  • 108
9
votes
3 answers

How can I generate an Azure blob SAS URL in Python?

I am trying to generate blob SAS URLs on the fly using the azure-storage-blob package. This solution only works if you have the now-deprecated azure-storage package, which cannot be installed anymore. I need a way to mimic the behaviour of…
Ilan Segal
  • 103
  • 1
  • 1
  • 6
6
votes
2 answers

Azure Storage Account : Blob service (SAS) Connectivity Check FAILED

We created a new Storage Account on Azure. And, when we perform the Connectivity Check, it shows that Blob service (SAS) endpoint is not accessible with message "Public access is not permitted on this storage account." The status code is 409. The…
amsDeveloper
  • 177
  • 4
  • 14
4
votes
2 answers

How to disable SAS authorization for Logic App?

Is there a way to disable the SAS authorization scheme for a Logic App HTTP-trigger? In the documentation I read the following: "Inbound calls to a request endpoint can use only one authorization scheme, either SAS or Azure Active Directory Open…
cb0008
  • 93
  • 1
  • 8
3
votes
2 answers

Can I create a SAS url to access all files and folders of a directory in Azure File share (i.e. not Blobs) in C#?

How can I get a Sas url with read-only or write-only permission for a directory in Azure File Share to access all files and sub directory in that directory but it will not be accessible by other directory o files in Azure File Share? Is there any…
Sumana
  • 51
  • 1
  • 6
3
votes
1 answer

Azure SAS Token not working with Azure.Storage.Blobs BlobServiceClient

I am using Azure.Storage.Blobs v12.1.0 library. I am generating a Blob Level SAS token using user delegation with Azure Service Principal Credentials, and trying to upload a blob using SAS Token generated. I have followed exactly this code sample…
Haresh
  • 207
  • 1
  • 4
  • 11
3
votes
3 answers

Azure Storage Explorer - Inadequate resource type access

I am attempting to use the Microsoft Azure Storage Explorer, attaching with a SAS URI. But I always get the error: Inadequate resource type access. At least service-level ('s') access is required. Here is my SAS URI with portions…
HerrimanCoder
  • 6,835
  • 24
  • 78
  • 158
2
votes
2 answers

How to use the CorrelationId of an Azure SAS token?

I have a web application generating user-delegated SAS tokens authorized by the managed identity for the app. I want to be able to monitor who uses the tokens, so I added a Correlation Id in the scid field of the token. However, this does not show…
2
votes
1 answer

Is there a way to programmatically generate Azure SaS token for Blob container even when the user is not authenticated with SaS token java

I am authenticating my user using ClientCredentails. My client does have the permission to generate SaS token. Now I want to generate SaS token from code for a short period of time so that the customer can directly download the file. String…
Raj
  • 61
  • 4
2
votes
1 answer

Cant get correct SAS token on Azure web app - Authentication Failed. Python

I'm calling the generate_sas_token API which generates an SAS token that I append to the end of the url to be able to access it. I had it working before but then I kept getting this error: AuthenticationFailed Server…
Cl0ud-l3ss
  • 175
  • 2
  • 10
2
votes
1 answer

Using Only a SAS Token To Upload in PowerShell

I have a SAS Token in the form: https://name.blob.core.windows.net/container?sv=2015-04-05&sr=b&sig=abc123&se=2017-03-07T12%3A58%3A52Z&sp=rw I am attempting to use an Az Provided Cmdlet in Powershell to upload content to this blob. I am unable to…
aolszowka
  • 1,300
  • 12
  • 36
2
votes
1 answer

Connection string for SAS token in Azure event hub python

I am pretty new to event hub https://learn.microsoft.com/en-us/azure/event-hubs/get-started-python-send-v2 based on the above link I am trying to implement a publisher for event hub. Unfortunately the connection string is formed with Shared Access…
2
votes
3 answers

Is it possible to create a SAS token for a directory in DataLake Gen2 storage?

I have an Azure Function that triggers from a directory (namespace) nested within an ADLS Gen 2 storage container. Example: ADLS_AccountName/topLevelContainer/Directory1/Directory2/{name} Unfortunately, the Function requires the Connection string of…
ericOnline
  • 1,586
  • 1
  • 19
  • 54
2
votes
1 answer

How to generate a Shared access signature for a folder in Azure blob storage?

I am working on generating a Shared access signature on Azure blob storage using Azure Blob storage client library v12 for .NET. Until now, I figured out how to generate token SAS on a Container and a File but, I can't find on Microsoft…
1
vote
1 answer

AzureStorage Blob Server failed to authenticate the request. Error while trying to DELETE file despite uploading files working

I'm trying to delete file from Azure Storage Account Blob and I'm geting the following error: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. I'm using SAS Token to…
1
2 3 4 5