【发布时间】:2020-05-15 05:31:08
【问题描述】:
我在管道中使用 az cli 任务,并尝试使用以下命令从带有 SAS 令牌的存储 blob 下载 zip,但是在执行期间,%2 和 %3 从令牌中删除,然后失败并出现错误“无效令牌”有什么帮助吗?
az storage blob download --container-name testcontainer --name new.zip --file C:\Test\new.zip --account-name mansing --sas-token "sv=2019-03-28&si=test-v1.0.0&sr=b&sig=uityesfggjXAxG2tvNs7y88K%2FnKPMsO8iuKPGurEJtS4%3D"
我相信 SAS 令牌已经编码,所以我不能编码或使用转义字符。
【问题讨论】:
标签: azure azure-devops azure-blob-storage azure-cli