Azure / Azure/durabletask

DurableTask.AzureStorage does not work with SAS Token

Open
#354 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
1.7k
Forks
335
Avg merge
2d 23h
Merged PRs (30d)
6

Description

I created a StorageAccountDetails with Key Vault managed Storage Account SAS token

`
var details = new StorageAccountDetails
{
StorageCredentials = new StorageCredentials(""),
EndpointSuffix = "",
AccountName = ""
};
`

I was able to create TaskHubWorker and TaskHubClient with AzureStorageOrchestrationService, and CreateOrchestrationInstanceAsync did create a message in control queue.

However, instance status stayed in Pending status and did not execute orchestration code. Control queue message became invisible, so I believe TaskHubWorker was picking up the message. Is SAS token scenario not supported by durable task? I see the same piece of code working with both connection string and key-based storage credential.

We have auto-rotation set up for storage account key, so using connection string is not a viable option (for the same reason, I cannot create any of storage-based IOrchestrationServiceBlobStore as they expect connection strings only).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.