Skip to main content

Authentication

Connect the CLI to your Asymptote account to enable full functionality.

Login

asymptote login
You’ll be redirected to the dashboard to confirm access.
$ asymptote login

 Created session

  Open the authorization page in your browser?  Yes

Complete authorization at https://asymptotelabs.ai/cli/authorize/abc123

 Opened login window in browser

  Waiting...

 Successfully authenticated!
FlagTypeDescription
--no-promptboolOpen the authorization window without asking
All configurations are stored in ~/.asymptote/config.yml.

View Configuration

Check your current CLI configuration:
asymptote config
$ asymptote config

 Name             Value                                    Source
─────────────────────────────────────────────────────────────────────────
 API Key          ak-392c737aa1e467e42e85ae3e8417****      config file
 Organization     Acme Corp                                config file
 API Server       https://api.asymptotelabs.ai             default

API Key Authentication

You can also authenticate using an API key directly:
asymptote config set api-key <your-api-key>
Or set via environment variable:
export ASYMPTOTE_API_KEY=<your-api-key>

Troubleshooting

If you’re having authentication issues, run:
asymptote doctor
$ asymptote doctor

Checking configuration...

 Check                  Status
─────────────────────────────────────
 Config file Found
 API key Valid
 API connection Connected
 Latest version Update available (v0.2.0)

All checks passed!

Next: Scan your code

Start scanning your code for vulnerabilities.