Skip to content

qc login, logout, whoami

Three top-level commands manage Cloud CLI authentication: login starts an OAuth flow, whoami shows the active session, and logout clears stored credentials.

Credentials are stored in ~/.quant/credentials. The CLI uses them automatically until they expire or you log out.


Authenticate with Quant Cloud Platform via a browser-based OAuth flow. After authorising in the browser, the CLI stores your tokens locally.

Terminal window
qc login [options]
Flag Description Default
-p, --port <port> Callback port for the OAuth flow. 8090
--endpoint <url> Override the API endpoint.
Terminal window
# Standard login
qc login
# Use a different callback port (if 8090 is in use)
qc login -p 9090

When prompted in the browser, choose your platform:

  • Quant Cloud — Content Delivery Platform (dashboard.quantcdn.io)
  • QuantGov Cloud — Government & Enterprise Platform (dash.quantgov.cloud)

Display the current authenticated user, active organization, application, environment, and token expiry.

Terminal window
qc whoami

None beyond --help.

Terminal window
qc whoami

Sign out and remove stored credentials. After logout you’ll need to run qc login again before running commands that require authentication.

Terminal window
qc logout

None beyond --help.

Terminal window
qc logout
  • Get started — installation and authentication walkthrough.
  • qc platform — switch between authenticated platforms.