简体   繁体   中英

How to use SAS Token in Azure File Copy Pipeline Task?

I am trying to copy ADF ARM templates to a storage account using the Azure File Copy Task in my Azure release pipeline. Since the storage account has firewall and networking set up, I want to use the SAS token to allow the Pipeline agent to copy the files to the storage account.

However, I am not able to find any documentation as to how to pass the SAS token as the optional argument(or at another place). The task version is 2*. How do I use the SAS token for copying the files?

管道任务 - 文件复制

I changed the file copy task version to 4*. ; and then I was able to add --sas-token=$(sasToken) into the Optional Arguments and it worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM