Skip to content

chainabit auth token ​

Print the raw access token to stdout (for piping).

Synopsis ​

text
chainabit auth token [options]

Options shared by every command are described in Global options and shared behavior.

Behavior ​

Prints the resolved access credential without contacting the API. Unlike other identity diagnostics, this deliberately exposes the complete token on stdout.

Authentication and permissions ​

A resolved credential must exist in the environment or local configuration. This command does not check expiry or server validity; it only prints the stored/resolved token.

Output ​

Human mode prints the raw token plus a newline; --json prints {token}. Both expose a secret on stdout. Missing authentication exits with the authentication code in Exit codes; help exits 0.

Safety and billing ​

This command exposes a complete credential. Keep terminal output, logs and redirected files private; never paste them into reports or commit them. Creating a new key is a new credential operation, not an idempotent replay.

Examples ​

bash
chainabit auth token

Built with purpose. chainabit.com