Azure / AzureStack-QuickStart-Templates

Quick start ARM templates that deploy on Microsoft Azure Stack
http://aka.ms/AzureStackGitHub
MIT License
564 stars 718 forks source link

Issue with creating Service SAS for a container with ARM template #470

Open aseemamitesh opened 3 years ago

aseemamitesh commented 3 years ago

Hi, I am trying to create Service SAS using ARM template for one of the containers with read permission and Jan 2050 as expiry. Runs successfully but I do not see any change in Portal.

Here is the arm template: "variables": {
"storageAccountName": "test", "containerName": "testcontainer", "secondContainerName": "containertwo", "serviceSasFunctionValues": { "canonicalizedResource": "[concat('/blob/', variables('storageAccountName'), '/', variables('containerName'))]", "signedResource": "c", "signedPermission": "r", "signedExpiry": "2050-01-01T00:00:00Z" } }

"outputs": { "serviceSas": { "type": "string", "value": "[listServiceSas(variables('storageAccountName'), '2018-02-01', variables('serviceSasFunctionValues')).serviceSasToken]" } }