Skip to main content
On this page

Kater CLI Your terminal auth

kater auth token

Give the access token of the account a command acts as, for an editor that signs in through this CLI. It is refreshed first when it is about to expire, and printed with --json only, with when it expires and who it is; without --json it says who is signed in and no token. It is the token of kater login, never KATER_API_TOKEN or the target's token.

Examples

Terminal window
# Give the access token of the account a command acts as, for an editor that signs in through this CLI. It is refreshed first when it is about to expire, and printed with --json only, with when it expires and who it is; without --json it says who is signed in and no token. It is the token of `kater login`, never KATER_API_TOKEN or the target's token
kater auth token

Options

OptionDescription
--api-url <api-url>The Kater API to give the token for, in place of the target’s.

It also takes the global options anywhere on the line, and --help.

See also