Support Portal | Snyk Help Center home page Support
View my tickets
Submit a request
Submit a ticket Try Snyk for free

Articles in this section

  • Snyk is trying to run files from AppData but that is not allowed under our corporate policy. How can that be changed
  • Maven cli test results in `ERROR: Cannot find any digraphs.`
  • CLI test for Python Projects fails with 'Error: Required packages missing:<package>'
  • Snyk CLI or IDE plugins do not work for Code Scans for user with Custom Roles
  • Maven scans fail with `Blocked mirror for repositories error` in debug logs
  • Are wildcards and version ranges supported with a path when ignoring vulns via the .snyk ignore policy file?
  • 'snyk code test' returns: Failed to run 'code test'
  • Snyk CLI functions fail with "Cannot read TLS response from mitm'd server x509: certificate signed by unknown authority"
  • Python project test and/or import fail
  • Deeply nested Scala projects, have dependencies truncated
See more
  1. Support Portal | Snyk
  2. Snyk CLI
  3. CLI

Where can I find the auth token that is stored when I do a "snyk auth" with the CLI?

  • Updated March 23, 2023 05:35

You can run

$ snyk config get <key>

to see what value is stored (api), the API token.

To clear the api that is stored run

$ snyk config clear

For more information see Authenticate the CLI with your account and the snyk config command help.

Have more questions?

Submit a request
Was this article helpful?
Return to top
Snyk - Develop Fast, Stay Secure.
Book a demo Sign up for free
Snyk
  • What is Snyk
  • Snyk Open Source
  • Snyk Code
  • Snyk Container
  • Snyk Infrastructure as Code
  • Developer Security Platform
  • Pricing
  • Events
Resources
  • Docs
  • API docs
  • Support
  • Onboarding
  • Product updates
  • Vulnerability DB
  • Snyk Advisor
  • Snyk Learn
Company
  • About Us
  • Jobs at Snyk
  • Legal Terms
  • Privacy
  • Press Kit
  • Secure by Design
  • Do not sell my personal information
Connect
  • Book a Demo
  • Contact Us
  • Report a New Vuln
Snyk

Snyk is an open source security platform designed to help software-driven businesses enhance developer security. Snyk's dependency scanner makes it the only solution that seamlessly and proactively finds, prioritizes and fixes vulnerabilities and license violations in open source dependencies and container images.

Track our Development

Snyk - GitHub Snyk - NPM

Snyk - DecSecCon