Skip to main content

veracode configure

Configure your API credentials for the Veracode CLI. You must generate these credentials with the Identity API or in the Veracode Platform.

If you have previously configured your API credentials using environment variables or with the configure command, the Veracode CLI pre-populates your API ID and secret key.

Usage

./veracode configure

Example Results

Credentials configured with configure command

Configuring credentials for the Veracode CLI ...
API ID [Your Veracode API ID]
API Secret Key [Your Veracode Secret Key]
Validated API credentials successfully.
Wrote configuration to /{filepath}/.veracode/veracode.yml

Credentials written to environment variables

Configuring credentials for the Veracode CLI ...
Using environment variables VERACODE_API_KEY_ID and VERACODE_API_KEY_SECRET.
Validated API credentials successfully.