Azure / Azure/AzureStack-QuickStart-Templates

Issue with creating Service SAS for a container with ARM template

Open
#470 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
587
Forks
741
PR merge metrics
No merged PRs in 30d

Description

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]"
}
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.