BookmarkSubscribeRSS Feed
jnogueira
Calcite | Level 5

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!

1 REPLY 1
alexsbeck1
Calcite | Level 5

Hello.  I wanted to see if you were ever able to figure out a solution for connecting to Azure Blob storage from SAS?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1577 views
  • 1 like
  • 2 in conversation