onvif / specs

ONVIF Network Interface Specifications
Other
345 stars 93 forks source link

Storage Configuration - Renewal of cloud storage credentials #423

Open jmelancongen opened 6 months ago

jmelancongen commented 6 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 5 months ago

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

jmelancongen commented 2 months ago

Updated based on feedback from F2F:

bsriramprasad commented 1 month ago

@jmelancongen Once PR https://github.com/onvif/specs/pull/481 is approved, you may want to update the CertPathValidationPolicyID used to validate the renewal endpoint server certificate. requirement to reflect proposed changes in https://github.com/onvif/specs/pull/481 ?