Can OpenBalena’s API be used for authenticating devices by outside services? Looking through the docs, all mention of authentication is in reference to users, not devices. I realize that devices have a provisioning key which is exchanged for a device API key, but I couldn’t see anything about a device authentication endpoint.
Say I have a third party database that I want devices to be able to upload to, but I want to authenticate/authorize their requests so that only provisioned devices are allowed to upload. Is there a way that I could use OpenBalena to verify the device API Key?
And if that’s not possible, is there a recommended way to automatically generate extra authentication credentials during device provisioning? I’m wondering how other people have handled this?
(Balena being able to serve as an OIDC provider would be ideal, but I kind of doubt that’s implemented atm.)