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.
qc login
Section titled “qc login”Authenticate with Quant Cloud Platform via a browser-based OAuth flow. After authorising in the browser, the CLI stores your tokens locally.
Synopsis
Section titled “Synopsis”qc login [options]Options
Section titled “Options”| Flag | Description | Default |
|---|---|---|
-p, --port <port> |
Callback port for the OAuth flow. | 8090 |
--endpoint <url> |
Override the API endpoint. | — |
Examples
Section titled “Examples”# Standard loginqc login
# Use a different callback port (if 8090 is in use)qc login -p 9090When prompted in the browser, choose your platform:
- Quant Cloud — Content Delivery Platform (
dashboard.quantcdn.io) - QuantGov Cloud — Government & Enterprise Platform (
dash.quantgov.cloud)
qc whoami
Section titled “qc whoami”Display the current authenticated user, active organization, application, environment, and token expiry.
Synopsis
Section titled “Synopsis”qc whoamiOptions
Section titled “Options”None beyond --help.
Example
Section titled “Example”qc whoamiqc logout
Section titled “qc logout”Sign out and remove stored credentials. After logout you’ll need to run qc login again before running commands that require authentication.
Synopsis
Section titled “Synopsis”qc logoutOptions
Section titled “Options”None beyond --help.
Example
Section titled “Example”qc logoutSee also
Section titled “See also”- Get started — installation and authentication walkthrough.
qc platform— switch between authenticated platforms.
