astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
240 stars 50 forks source link

The device registration limit prevents re-registration of already existing devices #933

Open davidebriani opened 7 months ago

davidebriani commented 7 months ago

The device registration limit set for an Astarte realm is meant to prevent device registration when the limit is reached.

The main purpose is to restrict the ability of realm users to create new devices that would allocate more resources.

However, when the limit is reached Astarte also currently forbids re-registering existing devices. This operation could arguably be allowed since it is useful for generating a new credential secret for the device when the previous one is lost or compromised.