Pick a method
OpenKey
Browser-based sign-in. Best for interactive use.
Local key
Private-key sign-in. Best for CI, agents, and other headless workflows.
Start with a profile
tc init creates a profile directory, generates a keypair, and can optionally sign in immediately.
Sign in
Check state
tc auth status shows whether the profile is signed in, which DID is active, and whether the session is still valid.
OpenKey host overrides
OpenKey auth uses this resolution order:TC_OPENKEY_HOSTprofile.jsonopenkeyHosthttps://openkey.so
Automation
UseTC_PRIVATE_KEY or --private-key for commands that need a signer in headless environments.
The CLI source accepts both interactive OpenKey flows and local-key flows.
tc init and tc auth login share the same browser callback and paste-mode behavior.