Keyturn docsHow-to guides

Onboard new hires from a CSV

Register Notes users (a certified ID, the Person document, the mail file, groups and policy) from one CSV, as one plan.

keyturn user register -f new-hires.csv --certifier-id acme.id
keyturn apply keyturn-plan-*.json --otp-cmd 'otp $SERVER'
keyturn user show "Owen Price"
registration plan from CSV
The plan for three hires.
registrations applied
Applied. Each registration asks its own code by design: no plan approval covers ID files. Each step confirms names.nsf holds the new Person document.
user show for a new hire
The new person and the groups that list them.
  • Through the CA: leave out --certifier-id and the server's CA process certifies the ID. With --certifier-id Keyturn asks the certifier's password at the prompt.
  • Internet-only people: keyturn people create --first Jane --last Doe --short jdoe (needs people in keyturnd.conf), or people import people.csv.
  • From an HR feed: keyturn import csv people.csv --map map.toml or people sync writes a plan of joiners, changes and leavers.
  • Afterwards: group add "Sales Team" --member "Owen Price/Sales/Acme", policy effective "Owen Price/Sales/Acme", user mail-quota set.
Rights

Registration needs Author with Create documents and the [UserCreator] role in names.nsf (plus Editor or [UserModifier] for mail and policy, and [GroupModifier] for groups). Without them Keyturn refuses with DIRECTORY_RIGHTS before anything is made.