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?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.