Azure Storage SAS Helper code snippet RRS feed

  • General discussion

  • If you are using Task resource file to stage files for task, it's likely that you have been fighting with SAS generation. I've posted several code snippet online at https://gist.github.com/YidingZhou/0c7bc81b723da3f3daae for your reference. The code snippet covers common scenarios like,

    • Create a container (if doesn't exist) and return the SAS url
    • Generate a SAS url of blob or container based on specified permission
    • Generate a SAS url based on policy name
    Thursday, February 26, 2015 11:39 PM