Keyturn docsQuick reference

Cheat sheet

The commands admins reach for most. Add --dry-run to preview any change, -o csv to any read, and --context-group domain to run a read on every server.

Get connected

Find and trust every server
keyturn connect you@acme.com
Enroll your authenticator
keyturn auth enroll --server mail1
Who am I, which server
keyturn auth whoami · keyturn meta context current
Switch server for one command
--server mail2
License on a server
keyturn license show

Look around

Servers in the domain
keyturn server list
Health, one or all
keyturn report health [--context-group domain]
Who is on
keyturn session list --context-group domain
Tasks, disk, a stat
keyturn task list · server disk · stat get Mem.Free
Follow the console
keyturn console tail

People and groups

Find or show a person
keyturn user find "Jane Doe" · user show "Jane Doe/Sales/Acme"
Register from CSV
keyturn user register -f new-hires.csv
Reset an Internet password
keyturn user password set "Jane Doe/Sales/Acme" --http --yes
Unlock an Internet lockout
keyturn user lockout clear "Jane Doe/Sales/Acme" --yes
Add to a group
keyturn group add "Sales Team" --member "Jane Doe/Sales/Acme"
Offboard
keyturn user delete NAME --deny-group Terminations --mail all --yes --wait

Databases and ACLs

Find databases by facts
keyturn db select mail --where "freeMB > 20"
Compact a server
keyturn db compact --all
Update all full-text indexes
keyturn db fti update --all
Show or set an ACL entry
keyturn acl show apps/sales.nsf · acl set apps/sales.nsf --name -Default- --level reader
Audit every ACL
keyturn acl audit --all-servers -o csv
Remove a name from every ACL
keyturn acl purge-name "Raj Patel/Sales/Acme" --yes

Mail

Dead and held mail
keyturn mail dead list · mail held list
Release held mail
keyturn mail held release ID · --all
Router queues
keyturn mail queue list
Test the Router
keyturn mail test jane.doe@acme.com
Trace a route
keyturn mail trace jane.doe@acme.com --wait 2m

Plans, runs and undo

Plan from a file
keyturn plan -f changes.txt
Review, then apply
keyturn plan show PLAN · keyturn apply PLAN
Runs on this machine
keyturn batch status
Resume a stopped run
keyturn batch resume RUN
Undo a run
keyturn undo RUN --dry-run
Codes from a CLI authenticator
--otp-cmd 'otp $SERVER'

Licenses

What a server runs under
keyturn license show [--context-group domain]
Request file for a purchase
keyturn license request --offline --context-group domain
Download your license files
keyturn license fetch
Install on your servers
keyturn license install FILE --servers mail1,mail2 --fan-out-changes --yes
Free Community key
keyturn license request

Certificates

Expiring soon, everywhere
keyturn cert expiring --all-servers
Let's Encrypt preflight
keyturn cert request HOST --acme --dry-run
Notes certificates expiring
keyturn user cert expiry --within 60

Server down

Status from beside the server
keyturn sentinel status
Last console lines
keyturn sentinel logs --lines 20
Start or restart Domino
keyturn sentinel start · sentinel restart --yes
Fetch the newest NSD
keyturn sentinel diag fetch