To upload scan results and use account-backed features, the Vibgrate CLI needs to be signed in to your Vibgrate Cloud workspace. The vg login command handles this through your browser, so there is no token to copy or paste.
Sign in
Run the login command:
vg login
Your browser opens to complete authentication. After you approve access, the CLI stores a login credential locally and you can return to your terminal.
Confirm you are signed in
After logging in, you can push scan results to your workspace:
vg push
Or scan and upload in one step:
vg scan --push
Sign out
When you are done, or to switch accounts, clear the stored credential:
vg logout
When you need to log in
- Pushing scan results to Vibgrate Cloud for team visibility
- Working with account-backed features tied to your workspace
For purely local scanning, you do not need to log in — a bare vg works without an account.
CI and automation
Interactive browser login is not suitable for pipelines. For CI uploads, use a DSN token generated with vg dsn create instead of an interactive login. See the DSN documentation for details.
Troubleshooting
- Browser did not open — copy the URL the CLI prints into a browser manually.
- Need to re-authenticate — run
vg logoutthenvg loginagain.
Related
See setting up a Vibgrate workspace and the Vibgrate Cloud upload documentation for how pushed results appear to your team.