Skip to main content

User management

The users are stored in the user table in the db. As the database may change, the Signaturbox can load the user configuration from a configuration file. The Signaturbox checks on every start if the file /app/config/user.json exists. If it's the case, the user table is dropped and created from this file.

File format​

The configuration file contains a list of all users. Id, ApiKey and Description are required. SealSignatureCert, AuthCert and AuthCertPassword are only required for seal signatures. A sample configuration may look like:

[
{"Id":1,"ApiKey":"DE82DF03ACA228B2FDC9C1BCA14628584D78AC4F5D8507085BA9FB753019B433","Description":"User 1","SealSignatureCert":"","AuthCert":"","AuthCertPassword":""},
{"Id":2,"ApiKey":"232F0F7ADC473A0554F43D8AFD8925505A53F1221BBAA136A12B2BEC6B6583FE","Description":"User 2","SealSignatureCert":"","AuthCert":"","AuthCertPassword":""}
]