如何为逻辑应用自定义共享访问签名?

How do you customize shared access signature for logic apps?

我有一个带 HTTP 触发器的 Azure 逻辑应用程序。 http 触发器具有自动生成的共享访问签名。是否可以通过编程方式生成此 URL?如果是这样,那里有任何例子吗?是否可以在共享访问签名中包含任意数据以为客户端/服务器提供更多 HTTP 调用上下文?

Is it possible to programatically generate this URL?

是的,您可以使用程序生成 SAS 令牌。这里有两个服务生成 SAS 令牌示例 code.One 是 Event Hubs, one is Storage.

Is it possible to include arbitrary data in the shared access signature to give the client / server more context for the HTTP call?

生成SAS token有它的原则。您只能传递 REST API 允许且 token.Like 需要的参数 here 列出了大部分需要的参数。

如果您还有其他问题,请告诉我。