Skip to main content

Usage

Prints the identity associated with the current credential by calling GET /v0/auth/me.

Exit codes

What it does

1

Resolve credential

Checks FACET_TOKEN environment variable first, then the credentials file at $FACET_DIR/credentials (default ~/.facet/credentials).
2

Query registry

Calls GET /v0/auth/me with the resolved token.
3

Display identity

Shows the username, email, account tier, and credential source.

Output

If the credential was resolved from FACET_TOKEN instead of the saved file:
The registry line is always printed and shows the base URL the identity was resolved against. If the account is suspended, the suspended status is shown.

See also