Skip to content

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

Description

@aseemamitesh

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions