Veracode recommends that you use a Veracode API credentials file. The plugin uses these credentials to access Veracode.
To complete this task:
In your IDE, select Veracode > Options > Tools > Veracode > Credentials.
Select an option for storing your Veracode API credentials:
- Store credentials in external file: use the credentials in your Veracode API credentials file. By default, if your credentials are not currently stored in Eclipse, this option is selected. Select Test Credentials to verify that your credentials are valid.
- Store credentials in Eclipse: select Add Credentials to enter and store your credentials in Eclipse. By default, if your credentials are currently stored in Eclipse, this option is selected.
If you selected to store your credentials, the Veracode Keychain window opens. Create a passphrase that Veracode can use as a security key to encrypt your Veracode credentials before saving them. Veracode uses the passphrase to create a digest that it stores securely. This digest expires every 12 hours, after which the plugin prompts you to enter the passphrase for creating a new digest.
Enter your passphrase and, then, confirm your passphrase.