tech5usa / TLSential

A server for providing short-lived TLS certificates to all services within a firewall restricted network.
GNU General Public License v3.0
15 stars 2 forks source link

Super admin init and reset #7

Closed d1str0 closed 4 years ago

d1str0 commented 4 years ago

Now allows for a 1 time only Super Admin initialization, with possible SA reset via command line.

POST /api/config/superadmin/{username}

Takes the given username, generates a random password, and returns the user object in JSON. Saves this user with super_admin role to the system.

How's it look, locke?