Skip to content

twf status

Show the logins.

Terminal window
twf status [options]

twf status shows each profile in the credentials file: the organisation, the user, the cluster, the client and whether the access token is still valid. It marks the profile in use and prints where the file is.

It fails when there is no login, so you can use it in a script to check for one.

When TWINFIELD_REFRESH_TOKEN is set, the command says so: Credentials::default() then uses that token instead of a profile, see CI and environment variables.

Option Description
--profile=<name> Show only this profile. Default: all profiles.

See twf for the options every command takes.

Terminal window
vendor/bin/twf status
default (in use)
Organisation: EXAMPLE
User: JDOE
Cluster: https://api.accounting.twinfield.com
Client: Twinfield Connect (https://connect.twinfield.solvebeam.com)
Access token: valid until 2026-11-12 15:04:05 UTC
Saved in /home/jdoe/.config/twinfield/credentials.json

Only one profile:

Terminal window
vendor/bin/twf status --profile=acme
Made by SolveBeam

Twinfield and Wolters Kluwer are trademarks of Wolters Kluwer. Their names and logos are used only to refer to their products.