This message was deleted.
# getting-started
s
This message was deleted.
b
You can list the SAS using this method https://www.pulumi.com/docs/reference/pkg/azure-native/storage/liststorageaccountsas/ and then filter them so you get the one you want. Does that help?
m
Thanks Piers, does this method get a list of existing SAS URL's or generate new ones?
I've uploaded a file into a blob and want to generate a SAS URL for the blob, like you can do manually in the Azure Portal
b
It lists the existing ones
Looking at the docs it doesn't look like one can be created using Pulumi. I'm assuming that there's no endpoint in ARM for it
m
Looking into the ARM templates a bit further, it would appear that "ListAccountSas" is the thing that actually generates the SAS token (despite it being called 'list'). I found a few examples: https://samcogan.com/generate-sas-tokens-in-arm-teamplates/ https://michaelcollier.wordpress.com/2018/11/08/using-shared-access-signatures-in-azure-templates/ Maybe I'll try that and see how that goes. Thanks again