我正在使用AzureCLI在我的机器下载和列出从Azure的气泡。我已经尝试列出使用帐户密钥的Blobs,它可以像预期的那样工作。但是,当我尝试使用SAS令牌列出它时,我得到了下面提到的异常,
**指挥部:**
C:\Users\22222>az storage blob list -c containerName --account-name accountName -o table --sas-token sp=r&st=2018-10-16T12:53:16Z&se=2018-10-16T20:53:16Z&spr=https&sv=2017-11-09&sig=d%2asdfasdfewerasdf$#$%#$%#$A%3D&sr=b注意:--我从Azure门户获得了这个SAS令牌
指定的资源不exist.ErrorCode: ResourceNotFound
<?xml version="1.0" encoding="utf-8"?><Error><Code>ResourceNotFound</Code><Message>The specified resource does not exist. RequestId:a108a8f9-d01e-000d-6a6c-6b0194000000 Time:2018-10-24T07:38:04.5834052Z</Message></Error>
发布于 2018-10-25 01:03:12
我还复制了问题,如果不把sas-标记在量化标记。请试着用引号将sastoken字符串括起来。
az storage blob list -c containerName --account-name accountName -o table --sas-token "sp=r&st=2018-10-16T12:53:16Z&se=2018-10-16T20:53:16Z&spr=https&sv=2017-11-09&sig=d%2asdfasdfewerasdf$#$%#$%#$A%3D&sr=b"测试结果:

备注:确保您的sas令牌为vaild。
https://stackoverflow.com/questions/52968800
复制相似问题