Skip to content

Generate API Tokens

In this tutorial, you’ll learn how to generate API tokens to help you build NightVision DAST scans into your CI/CD pipelines.

  1. Click on the user’s profile picture in the top right and select Settings.

Select Settings under the user's profile picture. Select Settings under the user’s profile picture.

  1. Inside the Settings menu, select Tokens and then click on Generate API Token.


  1. In the pop-up, set an expiration date for the token in the Expiration dropdown. You can also set No Expiration and revoke the token at a later date.

Set the desired expiration date of the token in the drop-down menu. Set the desired expiration date of the token in the drop-down menu.

  1. Now click Generate.

Copy the API token. Copy the API token.

  1. Add this NIGHTVISION_TOKEN secret to your repository secrets or local environmental variables to run any of the following integrations in this guide. For more tutorials on how to integrate these with your CI/CD provider, see the following Integration pages:
    1. GitHub Actions
    2. GitLab
    3. Azure DevOps
    4. BitBucket
    5. Jenkins
  2. Note: You can revoke tokens in the Tokens tab at any time by clicking on the 3 dot kebab menu icon and then selecting Delete.

Click Delete to revoke the token. Click Delete to revoke the token.