Dynamic remote user management

Hello,
We use RUTX09 and TRB246.
We would like to manage remotely user via a central backend.
Idea:
User logs on our backend and request an access to gateway.
Backend (equipped with an administrative user) requests the gateway to create user providing username/password/profile. Upon confirmation the backend shows shares the credentials to user.
Access is allowed for a certain duration. At expiry, backend requests the gateway to discard user.

Is this flow achievable? (e.g. via JSON-RPC). Any other suggestion for achieving such a “centrally-managed access control”? (note: using teltonika RMS is not an option as we want to log all activities via our backend).

Similarly, is there a way to change the administrative user credentials remotely, so we can update them periodically.

Note: the gateways are configured for using openVPN.

Looking forward to your suggestions.

This should be possible by utlizing the built-in APIs of the gateways. Teltonika has a detailed documentation regarding this. When it comes to user configs, I saw that they have an endpoint that can be used to create, update, delete, etc. - https://developers.teltonika-networks.com/reference/rutx09/7.13.3/v1.5/users#users-general

So on your backend, you can managed the request to create a new user on the router/gateway when authenticated.
Flow:

  1. User logs in on via Backend.
  2. Once authenticated, new user will be created by sending a POST request on this endpoint
  3. When the duration expires, send a delete request on the router API endpoint

Updating a user cred should be possible too via PUT API request - https://developers.teltonika-networks.com/reference/rutx09/7.13.3/v1.5/users#put-users-config

Hello @davidgillot,

Could you please confirm if using the API helped to resolve your issue, or if you still require any further assistance?

Best regards,

This topic was automatically closed after 60 days. New replies are no longer allowed.