Generate Veracode API Credentials

Veracode Greenlight

About this task

Veracode API customers can access APIs and plugins using the ID and key credentials. If you use single sign-on with SAML, you can use the ID and key credentials instead of having to use a separate Veracode Platform API user account to access the APIs.

To create the API ID and key credentials:


  1. Log in to the Veracode Platform.
  2. Go to the user account menu and select API Credentials.
  3. Click Generate API Credentials.
  4. Copy the ID and secret key to a secure place to use them when logging into plugins.


You can only see these credentials this one time. You have the choice of setting them as environment variables or putting them in a credentials file. When you leave this page you cannot review your current credentials. The creation of new credentials revokes any old credentials after 24 hours. You can always revoke the API credentials, if necessary. They expire in one calendar year. If you want to extend the credentials beyond the expiration date, contact Veracode Technical Support at

After you create API ID and key credentials, you can use these credentials to automatically sign in to Veracode APIs and plugins without using a separate API user account to be able to access the APIs.