Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

Netty versions conflict with azure-identity、azure-storage-file-datalake java sdk

I am trying to implement ADLS token credential vending in my project with the following dependencies: // 1.13.1 implementation(libs.azure.identity) // 12.20.0 implementation(libs.azure.storage.file....
Jun's user avatar
  • 3
0 votes
1 answer
103 views

How to generate SAS token for Azure from Java with the same structure as the one generated from Azure Portal?

I am trying to upload a file to an Azure container from a basic Spring Boot application, and I was successful so far. However, when I try to read or write the tags on the Azure blob, I keep getting ...
Michael's user avatar
  • 1,015
0 votes
1 answer
720 views

</Message>AuthenticationErrorDetail>Signature did not match. string to sign used was w

I am trying to upload the file from local to azure blob storage using Azure blob storage dependency in Java Spring. Here I’m using sas token to upload the file. The code snippet is:- BlobClient ...
Dev-eloper's user avatar
0 votes
1 answer
403 views

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, ...
carlos palma's user avatar
1 vote
1 answer
675 views

Azure SAS Token for a specific file to be uploaded ? With Read And Expiry Time (JAVA)

I have BlobServiceAsyncClient Used TenantID, clientID, ClientSecret, ContainerName for creating the blobContainerAsyncClient. Uploading file as blobContainerAsyncClient.getBlobAsyncClient(fileName)....
piyush's user avatar
  • 428
0 votes
1 answer
139 views

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 ...
whey_do_MSFT_docs_stink's user avatar
0 votes
1 answer
928 views

SAS token generation for calling azure rest API in JAVA

I am trying to generate an SAS token using the code snippet given in the azure IoT Hub documentation, to call a GET devices API in IoT Hub(https://iot-hub-name.azure-devices.net/devices?api-version=...
Rakesh S's user avatar
0 votes
1 answer
609 views

Azure blob sasToken “Signature did not match” (java)

Hello I try to create a SAS to a blob on azure storage in java. I write the following code: public static String GSAS(String url, String signedstart, String signedexpiry) throws Exception { ...
zhirong tong's user avatar
0 votes
3 answers
271 views

How to generate a single Account SAS for both container.listBlobs() and blob.exists()

I'm developing a Java application which executes the following methods with Account SAS (Shared Access Signature) URI: CLoudBlockBlob blob = container.getBlockBlobReference("tmp/test.json"); blob....
sung101's user avatar
1 vote
1 answer
1k views

How to set RetryPolicy using container SAS with Azure Java SDK?

I am implementing an Android app where I need to upload images to a blob container using a container SAS. Currently using the full endpoint credentials as a connection string, I can add a retry ...
Alexander Galkin's user avatar
2 votes
0 answers
272 views

Utilising SAS Token Authentication in Java SE client

I am writing a simple Java client that goes to a workspace server to retrieve some data. Workspace server does not allow public connections and the authentication mechanism is "SAS Token ...
Vasilij Nevlev's user avatar