Hi,
I'd like to know if any of you have tips on how to upload data from SAS to Azure blob through a SAS code. I've tried to use PROC HTTP and REST API calls to authenticate and upload files to a blob container in my Azure account, but I did not manage to authenticate my access. I've followed the documentation (see https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob) and tried to write my SAS code, but it's not clear how to properly incorporate the required parameters and headers to authorize my access and how to use the authorization key to access my blob container and upload files. They have sample codes that make quite straightforward to do so in other languages (in Python, for instance, https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-python), but I'd like to know if it is possible to program it in SAS. Does anyone would have a sample code or tips/material that could help me?
Thanks a lot!
Hello. I wanted to see if you were ever able to figure out a solution for connecting to Azure Blob storage from SAS?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.