Usage
GET /v0/auth/me.
What it does
- Resolve credential. Checks
FACET_TOKENenvironment variable first, then the credentials file at~/.facet/credentials. - Query registry. Calls
GET /v0/auth/mewith the resolved token. - Display identity. Shows the username, email, account tier, and credential source.
Output
FACET_TOKEN instead of the saved file:
Exit codes
| Code | Meaning |
|---|---|
0 | Identity displayed successfully. |
1 | Failed (no credential found, invalid token, network error). |
See also
facet login— sign in to the registry.facet logout— remove saved credentials.