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

Research direction

Start with the inline ARM template, especially the serviceSasFunctionValues variables and the listServiceSas output. Reproduce the deployment and compare its output with the expected Portal behavior; the issue is complete when the missing change is explained and a corrected template or documented limitation is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.