Skip to content
Discussion options

You must be logged in to vote

Here are some sample deploy script that performs all of the deployment tasks such as generate the SAS token and also upload the artifacts.

https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/release-az/Deploy.ps1
https://github.com/Azure/azure-quickstart-templates/blob/master/Deploy-AzTemplate.psm1#L201

The sample is slightly different to yours, however the main component is passing in a securestring

    $queryString = (New-AzStorageContainerSASToken @SASParams).Substring(1)
    $OptionalParameters = @{ }
    $OptionalParameters.Add('_artifactsLocation', $TemplateURIBase)
    $OptionalParameters.Add('_artifactsLocationSasToken', ("?${queryString}" | ConvertTo-SecureString -

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by brwilkinson
Comment options

You must be logged in to vote
1 reply
@brwilkinson
Comment options

Comment options

You must be logged in to vote
2 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

Comment options

You must be logged in to vote
1 reply
@brwilkinson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants