--token flag, the VF_TOKEN environment variable, and credentials stored
locally by an interactive login.
Interactive login
Check who you are
vf whoami.
whoami runs entirely offline. It does not validate the token against the
API, so for a live check run a real command such as vf workspace list.
Sign out
Non-interactive use (CI and coding agents)
The CLI reads theVF_TOKEN environment variable natively, so there is no
login step and nothing stored on disk:
--token flag: