Skip to main content

Authenticate your credentials

Authenticate to store your credentials before scanning for vulnerabilities.

Run the following auth command to store your credentials locally.

contrast auth
--api-key <your API key> 
--authorization <your authorization header> 
--host <your host domain> 
--organization-id <your organization ID> 

In Contrast, under user menu > User settings > Profile, locate and copy this information:

  • API key

  • Organization ID

  • Authorization header

You will also need your Contrast URL for the --host line.

Once authenticated, perform an analysis.