/
How to modify UIN/VID length

How to modify UIN/VID length

This is the step by step instruction to increase or decrease the length of the UIN or VID.

  1. Change the following property in application-default.properties.

FOR UIN - mosip.kernel.uin.length
FOR VID - mosip.kernel.vid.length

  1. Bringdown kernel id generator service. In the Deployments scale down to zero.

Screenshot 2024-05-30 224937.png
  1. In the mosip_kernel db → clean up all the records in the following table.
    FOR UIN – uin table –> run the query → truncate table kernel.uin
    FOR VID – vid table – > run the query → truncate table kernel.vid

  2. Bring up the id generator service, once the pod is up – check the uin/vid table for records. Verify if the table is seeded with uin/vid of the altered length.

  3. Restart Idrepo – Vid service pod.

  4. Test by Generating a new UIN/VID.

 

Related content