Web Farm环境下DataProtection密钥持久化到Blob遇UnsupportedHttpVerb错误
Web Farm场景下DataProtection密钥无法持久化到Azure Blob Storage问题
我在Web Farm场景部署应用,无法将DataProtection的密钥持久化到数据库,转而尝试把密钥文件存储到Azure Blob Storage,但操作失败。
我参考文档编写了以下代码:
builder.Services.AddDataProtection() .PersistKeysToAzureBlobStorage('blob-sas-uri') .ProtectKeysWithAzureKeyVault('keyvault identifier');
运行应用时出现如下错误:
RequestFailedException: The resource doesn't support specified Http Verb. ErrorCode: UnsupportedHttpVerb Content: Azure.Storage.Blobs.BlockBlobRestClient.Upload(long contentLength, Stream body, Nullable<int> timeout, byte[] transactionalContentMD5, string blobContentType, string blobContentEncoding, string blobContentLanguage,...
请问我是否在Azure门户中遗漏了某些配置?
内容的提问来源于stack exchange,提问作者roopteja
相关产品推荐
相关产品推荐

