I am currently working on a jQuery web application that requires read-only access to an Azure Table Storage, fetching one record at a time by passing in the PartitionKey and RowKey. To simplify my code, I have integrated the Azure Storage JavaScript Client Library which can be found here.
My main challenge lies in creating a SAS_TOKEN to authenticate my access to the Azure Table. Despite searching for JavaScript examples on how to achieve this, I have yet to find a suitable solution. The only crucial aspect for me is setting the expiry time to 2 minutes.
It appears that the Azure Storage JS library offers a NodeJS function for generating the SAS token, but I am uncertain about how to utilize this within my jQuery code. Additionally, I have been unable to locate a pure JavaScript example illustrating the process of piecing together the required components to form the SAS token.
For reference, I have been using this documentation from Azure related to table storage: Sample Table Storage Documentation