Before using Veracode for VS Code, ensure that your API credentials are stored in C:\Users\<username>\.veracode\credentials.
You must have already generated the Veracode API ID and key.
The credentials file must not have a file extension. Always add valid credentials to either profile, [default] or [greenlight]. Veracode for VS Code detects the credentials only if the profile values are correct for at least one of the profiles.
The procedures for creating the credentials file vary depending on the operating system you are using.