onvif / specs

ONVIF Network Interface Specifications
Other
325 stars 87 forks source link

Storage Configuration - Renewal of cloud storage credentials #423

Open jmelancongen opened 2 months ago

jmelancongen commented 2 months ago

With the current specification, a cloud provider must continuously renew the credentials assigned to a device using the SetStorageConfiguration API. This means that a cloud provider must keep track of all devices and attempt to refresh this configuration, generally over Uplink, regularly to ensure that there is no loss of recording.

Instead of a manual procedure by the cloud provider, we propose that the device manage the lifecycle of its credentials on its own, by accepting an endpoint to a simple API that provides credentials to the device on-demand. This will allow the device to refresh credentials much faster in case of outages, where the device comes back online after a while and wants to resume recording as quickly as possible.

jmelancongen commented 1 month ago

To be Added: An OpenAPI document defining the schema of the response that device should expect from the API