Azure Storage Blob删除请求认证失败,上传及列表功能正常求助
Azure Blob存储删除文件时遭遇SAS认证错误
问题描述
删除Azure存储账户中的Blob文件时,收到以下认证失败错误:
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
我使用SAS Token进行请求认证,目前可通过以下URL正常列出容器内的Blob:
https://[myaccount].blob.core.windows.net/[mycontainer]/?restype=container&comp=list
另外,通过PowerShell和azcopy命令都能成功向该容器上传文件,但执行DELETE请求时就会触发上述错误,我的DELETE请求URL如下:
https://[myaccount].blob.core.windows.net/[mycontainer]/[myfile]?sv=2020-08-04&ss=bfqt&srt=sco&sp=rwdlacupitfx&se=2035-11-17T01:45:55Z&st=2021-11-16T17:45:55Z&spr=https&sig=[mysignature]
内容的提问来源于stack exchange,提问作者TropicalIPA
相关产品推荐
相关产品推荐

