Questions tagged [shared-access-signatures]

37 questions
4
votes
1 answer

How to validate Azure Blob Storage Shared Access Signature (SAS) URL?

My application allows users to enter an Azure Blob Storage SAS URL. How would I go about validating it? I'm using the Azure Storage Blobs client library, and there doesn't seem to be any way of validating SAS URLs without actually performing a blob…
3
votes
2 answers

Uploading file from Blazor WebAssembly App directly to Blob storage

I've been trying to develop a Blazor WebAssembly app (I'm trying with both .NET Standard 2.1 and .NET 5.0) and my goal is to allow the user to select a file using InputFileand for that file to be uploaded to an Azure Blob Storage Container. I've…
1
vote
1 answer

How to create SAS token for azure blob storage container with f permissions

These docs refer to needing f SAS permissions to do filter operations. How can I generate a SAS token with these permissions? I can't do it from the web interface and the az tool doesn't consider f a valid --permissions flag. In the end I want to be…
1
vote
1 answer

Generate Azure Storage SAS Signature In Ruby

I am trying to use the following code to generate a valid URL for accessing a blob in my Azure storage account. The Azure account name and key are stored in .env files. For some reason, the URL doesn't work; I get a Signature did not match error. #…
1
vote
1 answer

Azure Iot Hub create device API, IotHubUnauthorizedAccess;Unauthorized

I have been trying to create an Iot Hub device from an Android phone for a while, and despite following every instruction or tutorial I can find, i keep getting: { "Message": "ErrorCode:IotHubUnauthorizedAccess;Unauthorized", "ExceptionMessage":…
Geordie Wicks
  • 1,065
  • 1
  • 11
  • 27
1
vote
2 answers

How to programmatically find out what operations I can do in a blob storage?

I am using libraries Microsoft.Azure.Storage.Blob 11.2.3.0 and Microsoft.Azure.Storage.Common 11.2.3.0 to connect to an Azure BlobStorage from a .NET Core 3.1 application. When I started working on this, I had been given connection strings that gave…
F-H
  • 663
  • 1
  • 10
  • 21
1
vote
1 answer

Azure Media Services: Can we create SAS tokens for streaming endpoints?

I encoded a bunch of videos in Azure Media Services and created streaming endpoints. Everything works as expected. Now, I'd like to protect the endpoint URL for each video. For example, I'd like to make each URL available conditionally (for example…
0
votes
1 answer

Setting Managed Identity for Azure BLOBs

For my Azure Storage Account | BLOBs, I want to use a Managed Identity so that my web app can: Create the needed containers if they don't already exist CRUD BLOBs, with metadata set for them Create a Read access SAS for private BLOBs Is Storage…
David Thielen
  • 28,723
  • 34
  • 119
  • 193
0
votes
2 answers

Post request to Azure IoT Hub using Postman keeps returning Unauthorized

I am testing out an IoT Hub in Azure as a potential solution for making HTTPS post requests from Postman to Azure storage. I have already experimented with Azure Event Hub and was able to successfully post to an Event Hub. Now I am attempting to do…
Pile
  • 15
  • 5
0
votes
1 answer

Why does generate_blob_sas() fail but generate_container_sas() works fine with the same values?

I'm stumped. I'm attempting to use generate_blob_sas() function, but for some reason, the SAS token is malformed. I'm able to use the generate_container_sas() function with the same account, account key and container names. Seems to be the addition…
0
votes
1 answer

Secure shared access signature for private container

I'm storing blobs in a private container which will generate a new shared access signature each time an authorized users request to view. If a shared access signature is generated by authorized user, a valid link with token is appended to blob's…
0
votes
1 answer

Using an Azure portal generated SAS in C# Azure.Data.Tables client library

I have generated a Shared Access Signature in the Azure portal. It gives me three strings: Connection string, SAS token, and Table service SAS URL. I would have thought that I could take the value of Connection string which contains the value of the…
phil
  • 1,938
  • 4
  • 23
  • 33
0
votes
2 answers

How to work with the blob error in VsCode

enter image description hereThe Error is as shown in the image
0
votes
1 answer

Configure connection to Azure Storage Account to upload file - SAS URI

Assuming I already have a Storage Account SAS URI configured. How can I connect from outside the network to that Storage Account and which file sharing client should I use? What values do I need to configure it and where are they in the Storage…
0
votes
1 answer

Upload multiple files parallel in azure blob with SAS Token in javascript

I am trying to upload multiple video files in azure blob storage with the help of SAS token. As you can see in this image :- Image By looking in the console It looks like browser is handling the file and uploading it by chunks. So I didn't…
1
2 3