login command is used to authenticate to the CLI and to let it know where to upload the results from a scan.

This flag generates an access token, which can be used to automate CLI runs by adding it to your CI/CD process.

You can generate an access token by running the following:

npx @omlet/cli login --print-token

Once the token is printed, you can set the access token to an environment variable named OMLET_TOKEN. Omlet CLI will automatically use this specific environment variable.

Last updated