Keyturn docsHow-to guides

Everything else, by area

A quick tour of the rest. Every command here has --help with examples, and the full list is in the command reference.

AreaWhat you can doTry
DirectoryPeople, groups, views, Directory Assistance, the directory profile, catalog, LDAP, hygieneuser find "Jane Doe", group members "Sales Team" --recursive, dir lint, dir view People
PeopleFields, passwords, quotas, rename, recertify, move, mail moves, roaming users, lockoutsuser set, user rename, user mail move --ou Sales --to "CN=mail2/O=Acme", user roaming upgrade "Jane Doe/Sales/Acme" --roaming-server mail2/Acme, user lockout list
Policies and settingsPolicies, settings documents, effective policypolicy list, policy effective "Jane Doe/Sales/Acme", settings list
Console and tasksConsole commands, history, live tail; start, stop, restart and schedule tasksconsole tail, console exec "show tasks", task restart http --timeout 2m
Server confignotes.ini, Configuration Settings (with the Smart Upgrade database link), ports, diagnostics, registering servers, Smart Upgrade kits (on a network drive or attached)config get, config diff, server config list, server port list, server diag collect, smartupgrade kit list
Statistics and eventsStatistics, platform stats, collection, DDM reports and probes, event generators and handlers, log.nsfstat list, stat history, ddm status, ddm probe enable, event generator create --type task, event handler list, log query
ReplicationReplicate now, history, schedules, settings, selective replication formulas, Connection documents (LAN, passthru, dialup)replica status, replica now mail2/Acme apps/sales.nsf --direction pull --wait, replica formula set apps/sales.nsf --formula 'SELECT Form = "Order"', connection create mail2/Acme --type passthru --via hub/Acme, connection test mail2/Acme
ClustersStatus, membership, integrity checks, cluster replicationcluster status, cluster check, cluster replicate
Domain documentsDomains, Internet Sites, mail-in databases, holidays, resources, SMTP relay connections, Account documentssite list, site validate, mailin list, connection create relay --type smtp --relay-host smtp.isp.example --domain Internet, account list, holiday list, resource list
Web SSO and file protectionWeb SSO configurations and their Domino keys (made and sealed on the server, never shown), File Protection for Internet Sites and servers, and which servers use an SSO configuration they are not part ofwebsso list, websso create LtpaToken --org Acme --domain acme.com --participant mail1/Acme, websso key create Acme:LtpaToken --yes, site protect create --site www.acme.com --path "/files/*" --access "Sales=get"
Any field of a directory documentEvery field on every tab of the Server, Configuration Settings (NOTES.INI Settings and Activity Logging included), Person, Group, Connection, Domain, Internet Site, Mail-In, Program, Holiday, Resource and Account documents, as their form defines itserver fields --tab "Internet Ports", server set HTTP_DefViewRows=50, server config set '*' ActvEnbl=Yes, server config set mail1/Acme --ini Server_Restricted=0, program set updall "Enabled=At server startup only"
AdminPRequests and their responsesrequest list, request wait ID, request retry ID
Backup and storageDomino Backup, transaction logging, DAOSbackup status, backup start --mode full, backup restore, translog status, daos status
Security and IDsAdministrators, ECL, password policy, ID vault, ID files, ID Properties (certificates and their expiry, alternate names, key strength, the password settings that apply), service tokenssecurity admins list, idvault status, idvault reset-password, id list, id info --name "Jane Doe/Sales/Acme", auth token create --scope read
Add-onsTraveler, Verse, Nomad, SAML, OIDC, the Domino REST API, AutoUpdate, Domino IQtraveler status, traveler user wipe, verse status, nomad status, saml config list, drapi status, iq status
DocumentsQuery, read, create, change and export documentsdoc query names.nsf, doc get, doc export
Export for migrationTurn an NSF into a migration bundle and hand it to a migration toolexport start apps/sales.nsf --tool … --target local, export status, export resume
Keeping currentA newer keyturn, and a keyturnd certified for the server's releasemeta self-update --check, meta version
Edit any field, as the form says

Every set verb on a directory document takes any field of its form by its item name, beside its short paths. keyturn <noun> fields <name> lists them with their tab, type and current value. Keyturn reads the form from the directory's own design (cached per design version), so a number must be a number, a keyword is its label or stored value, names are written canonical, and a list takes += and -=. A field the form computes needs --force; rich text and sealed (password) fields are refused here. Every document Keyturn writes in names.nsf, da.nsf, events4.nsf and idpcat.nsf is then computed with its own form before it is saved, as the Administrator's save computes it: the form's defaults and computed fields are set, and a form's validation stops the write with the field's name (FORM_VALIDATION).

Passwords and secrets the forms keep

Directory Assistance's LDAP bind name and password (dir assist add | set --bind-dn … --bind-password-from-prompt), an OIDC client secret (oidc config set --client-secret-env VAR), an Account's password (account set --password-from-prompt) and the SMTP relay account (mail settings set --relay-account … --relay-password-from-prompt) come from a prompt or a named environment variable, never a flag. They are never printed, logged or audited, need your one-time code, and are stored as the form stores them: sealed fields, the document encrypted for the servers (or, for an Account, the author) the form names.

Service tokens for scripts

keyturn auth token create --name nightly-report --scope read --expires 30d mints a token for a scheduled job, shown once. Put it in $KEYTURN_TOKEN. Revoke with auth token revoke.