Keyturn docsCommand reference
keyturn auth
your sign-in, second factor and service tokens
auth enrollM
enroll a second factor (TOTP) on keyturnd: a key for your authenticator app, then its first code
keyturn auth enroll [--server URL] [--user NAME] [--ca FILE] [--otp CODE] [--print-uri]keyturn auth enrollauth confirmM
confirm a pending enrollment with the app's first code
keyturn auth confirm <code> [--server URL] [--user NAME] [--ca FILE]keyturn auth confirm CODEauth whoamiR
who you sign in as on the server, and your second factor's state
keyturn auth whoami [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn auth whoamiauth statusR
your session's expiry, and the server's second-factor rules
keyturn auth status [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn auth statuskeyturn auth status -o jsonauth resetD
remove another person's second factor so they can enroll again (administrators)
keyturn auth reset <name> [--yes] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn auth reset "Jane Doe/Sales/Acme" --yesauth token createM
mint a service token for scripts (keyturnd): shown once
keyturn auth token create [--name NAME] [--scope read|change] [--expires DAYS] [--product ID] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn auth token create --name nightly-report --scope read --expires 30dkeyturn auth token create --name provisioning --scope change --expires 12wauth token listR
your service tokens on the server: id, name, scope, expiry (never a secret)
keyturn auth token list [--server URL] [--user NAME] [--ca FILE]keyturn auth token listkeyturn auth token list -o csvauth token revokeD
revoke one of your service tokens, at once
keyturn auth token revoke <id> [--yes] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn auth token revoke 3f9a1c0b7e24 --yesauth policy showR
the server's authentication policy: second factor, sessions, sign-in limits, tokens
keyturn auth policy show [--server URL] [--ca FILE]keyturn auth policy showkeyturn auth policy show -o jsonauth policy setD
set require-otp in keyturnd's configuration file, for its next load
keyturn auth policy set <key=value> [--yes] [--dry-run] [--server URL] [--user NAME] [--ca FILE] [--otp CODE]keyturn auth policy set require-otp=true --dry-runkeyturn auth policy set require-otp=true --yesauth recovery-codes regenerateD
ten new one-time recovery codes for your second factor (the old ones stop working)
keyturn auth recovery-codes regenerate [--server URL] [--user NAME] [--ca FILE] [--otp CODE] [--none] [--yes]keyturn auth recovery-codes regenerate --yesHCL, HCL Domino, Domino, Notes, HCL Traveler, HCL Verse and HCL Nomad are trademarks or registered trademarks of HCL Technologies Limited. Microsoft, Windows, Excel, Power Query and Power BI are trademarks of the Microsoft group of companies. macOS is a trademark of Apple Inc. Linux is the registered trademark of Linus Torvalds. Let's Encrypt is a trademark of the Internet Security Research Group. Claude and Claude Code are trademarks of Anthropic, PBC. Other names may be trademarks of their respective owners. KernalWorks is not affiliated with, sponsored by, or endorsed by any of them.