Questions tagged [sas-token]

A shared access signature token (SAS token)

From: https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview

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 token, 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, among other parameters.

How a shared access signature works A shared access signature is a signed URI that points to one or more storage resources and includes a token that contains a special set of query parameters. The token indicates how the resources may be accessed by the client. One of the query parameters, the signature, is constructed from the SAS parameters and signed with the key that was used to create the SAS. This signature is used by Azure Storage to authorize access to the storage resource.

93 questions
0
votes
1 answer

What are the proper arguments for the generation of a SAS token to connect to Azure eventhub?

While reading this HTTP POST between Postman and EventHub, I was directed to this: https://learn.microsoft.com/en-us/rest/api/eventhub/generate-sas-token#java I don't know what resourceUri, keyName, and key to use. Do I use the full URL for the…
carlos palma
  • 722
  • 3
  • 12
  • 29
0
votes
1 answer

Need to get expiry alert for Azure blob storage SAS token

We are having Azure Storage Container & generated the SAS token for the production usage. We need to get the SAS token expiry alert for the same. I have tried below steps, Stored the SAS token to Azure Keyvault Got the expiry date for the SAS…
0
votes
1 answer

Laravel 9 Azure Storage Blob Server AuthorizationPermissionMismatch

im doing an Laravel 9 project, where i store image on azure accout. I use this library https://github.com/matthewbdaly/laravel-azure-storage. I try to connect with SAS Token it works but i got AuthorizationPermissionMismatch when i try to read it…
Sinay
  • 257
  • 1
  • 3
  • 6
0
votes
1 answer

How to connect to a Blob Container using a SAS Token?

Using this SDK; https://github.com/Azure/azure-storage-cpp, I able to use SAS Tokens connecting to storage accounts, but not blob containers. No matter what I try, I cannot get it to work. The token works fine in Storage Explorer. My guess is that I…
bleze
  • 51
  • 1
  • 14
0
votes
1 answer

Setting the AZURE SAS token expiry beyond 5 years and the risks involved

Through the use of MQTT protocol and SAS (shared access signature) tokens, my device is connected to AZURE IoT HUB. I would like to set the SAS token's expiry time to 5 years because it is hardcoded into the device firmware. The device will be…
SKARVA Bodavula
  • 903
  • 11
  • 17
0
votes
1 answer

Cannot access storage table with the azure application which is having owner access

We earlier used sas token to access the storage account.Now the requirment is to not to use it. Is it possible for an azure app to access the storage account if it has owner access. I tried using it . But getting this error. message": "The specified…
0
votes
1 answer

How to share Azure File Share data with the stakeholder within the organization?

I am trying to find an easy way to share some files (each of size 7GB or more) with the stakeholder within the organization. These large files are sitting on Azure file share. I tried to access UNC path with SAS token in Google Chrome. But it does…
0
votes
1 answer

Unable to get Blob SAS URL using Azure Function Blob trigger

I'm using a Blob trigger Azure function to get Blob files data whenever any file is uploaded to the Container. public static void Run(Stream myBlob,string BlobTrigger,System.Uri uri, string name, ILogger log) { log.LogInformation($"C# Blob…
0
votes
1 answer

ADLS SAS token is truncated when rewriting in API Management

I have an ADLS with images that I want to display on my website. I want to expose them through APIM. I am sending the image name and SAS token in the request which I re-write in the actual backend request with the right folder structure. The policy…
Praveen Valavan
  • 107
  • 1
  • 10
0
votes
1 answer

List folder in Azure Gen2 storage account with sas

I generated a sas token with the list permission for a folder in a datalake storage account gen2. Howerver when I try to access it with an httpGet request, I get AuthorizationPermissionMismatch error This request is not authorized to perform this…
0
votes
0 answers

Azure Blobstorage SAS Token Urls that decrypt data

I am trying to implement a feature that pulls data from blob storage using an SAS Token on the URL. One of the issues that I am running into with this is that I have Server Side Encryption within the azure infrastructure so that files we are…
Corey
  • 1
  • 1
0
votes
1 answer

Issue with Microsoft documentation in generating SAS token programatically. Error: "Signature Fields Not Well Formed"

I am tasked with trying to retrieve files from Azure through the use of a SAS token, but the documentation doesn't seem to lead me to a solution. When I attempt to generate the token programmatically with Java, I get the error "signature fields not…
0
votes
1 answer

How use User Delegation SAS Or Azure RBAC to grant permissions on storage account containers for azure active directory B2C users (Custom Domain)?

I have created a login module using Azure AD B2C. B2C tenant have a custom login page as well as a custom domain. I have also created an Azure Blob Storage Container for hosting HTML files of my website. I have a requirement that only the logged-in…
Yash
  • 57
  • 1
  • 10
0
votes
1 answer

Extend token expiration when uploading large blobs on Azure Blob Storage

I have an API in place, that generates and returns SAS tokens for a given blob name. Then on my front end application I am handling the upload using the response (credentials) provided by the API, together with the file selected directly through the…
0
votes
1 answer

Hiding the Video URL in a HTML page using Azure Api management service

I have stored a video file in BLOB storage. I need to stream this video but, I do not want users to go into developer mode and copy/paste URL on a browser so they can download it. I have tried many ways to control this but I have failed. I used SAS…
Sharon Watinsan
  • 9,620
  • 31
  • 96
  • 140