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 well formed."
Here are the two pieces of documentation I am referencing:
https://learn.microsoft.com/en-us/rest/api/storageservices/create-account-sas
https://learn.microsoft.com/en-us/rest/api/eventhub/generate-sas-token
Here is the code snippet I am using: image
I am using the proper key, keyName, and URI. I've used the search function and haven't found a solution yet. What is it that I'm missing?