gpt4 book ai didi

azure - SAS token - Azure IoTHub

转载 作者:行者123 更新时间:2023-12-03 04:20:52 25 4
gpt4 key购买 nike

我使用 Azure IoTHub 从我的设备接收数据。为了授权这些设备在我的 iothub 上发送数据,我为每个设备生成并指定一个 SAS token 。

在我的测试过程中,有几次,即使指定了 1 个月的过期时间,我也必须在第一个 SAS token 过期之前再次重新生成新的 SAS token 。

我想知道IotHub接受的最长到期时间是多少?是否存在在到期日期之前取消 SAS token 的情况?

最佳答案

在 Azure 设备资源管理器中,最大值为 365 天。

token 似乎无法取消,但您可以禁用指定设备mitigates the risks of using tokens with long expiry times .

关于azure - SAS token - Azure IoTHub,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49171236/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com