Auth
snyk auth [<API_TOKEN>] [<OPTIONS>]
The
snyk auth
command authenticates your machine to associate the Snyk CLI with your Snyk account.Running
$ snyk auth
opens a browser window with prompts to log in to your Snyk account and authenticate. No repository permissions are needed at this stage, only your email address.In some environments and configurations you must use the
<API_TOKEN>
; see Authenticate the CLI with your accountAfter setting this environment variable you can use CLI commands.
Use the
-d
option to output the debug logs.Last modified 2mo ago