Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Configuration - Renewal of cloud storage credentials #423

Open
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

jmelancongen
Copy link
Contributor

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 jmelancongen requested a review from ubkr May 21, 2024 18:41
doc/Core.xml Show resolved Hide resolved
<xs:documentation>CertPathValidationPolicyID used to validate the renewal endpoint server certificate. If CertPathValidationPolicyID is not configured, the certificate shall not be validated.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Error" type="xs:string" minOccurs="0">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When is this going to be used?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmelancongen I just approved #424 and I agree with @ubkr please re-review that PR and update this accordingly. Many kind thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, accidentally resolved the comment early.
This follows the recent PR from Hans #419 so we have at least available information in case the renewal flow breaks unexpectedly. The client will be able to retrieve that error and help narrow down the issue.

@jmelancongen
Copy link
Contributor Author

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

@jmelancongen jmelancongen changed the title Proposal: Storage Configuration - Renewal of cloud storage credentials Storage Configuration - Renewal of cloud storage credentials Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants