Auth
geni auth status
Verify the session server-side and print who is signed in and which workspace is active.
geni auth status [flags]Calls the cloud to confirm the token is still valid, then prints the operator and active workspace. A stale local session (revoked server-side, expired, or minted against a different server) exits 78 with a clear instruction rather than reporting a false OK from the file alone.
| Flag | Notes |
|---|---|
--json | Emit { authenticated, user, workspace, server }. When not signed in, { "authenticated": false } is the only field. |
Output
✓ Authenticated as jack@generalinput.com
· Active workspace: acme (Acme Inc., Owner)--json also carries server, the API URL this session is bound to. That is the answer to "which server is the CLI actually hitting", which can differ from what geni config get shows.
Exit codes
| Code | Meaning |
|---|---|
0 | Signed in and the session is valid. |
78 | No session on disk, or the server rejected the token. Run geni login. |
125 | The server could not be reached. |