Configure the API Credentials as Environment Variables on macOS and Linux

Veracode Integrations

Publication
Veracode Integrations
Edition date
2022-11-17
Last publication
2022-11-17T20:58:34.642989

You can store your Veracode API credentials as environment variables on macOS, Linux, or UNIX. You can use either an API credentials file or environment variables, but not both.

Before You Begin

  • You have generated Veracode API credentials.
  • Depending on your Veracode integration, you have added your API credentials to the [default] application profile. If you have an existing [greenlight] profile, delete it or rename it to [default].

Steps

On the command line, run these commands, replacing the values with your API ID and key:

$ export VERACODE_API_KEY_ID={your_api_key_id}
$ export VERACODE_API_KEY_SECRET={your_api_secret_key}