Generating API Credentials with the Identity API

Veracode APIs

Publication
Veracode APIs
Edition date
2022-12-01
Last publication
2022-12-01T00:14:58.434817

This use case scenario provides the Identity REST API command for generating new Veracode API credentials.

Use this command to generate new API credentials for your account:

http --auth-type=veracode_hmac --json POST "https://api.veracode.com/api/authn/v2/api_credentials"

This command revokes your current API credentials and returns the API ID and API key for your new credentials.

Note: You must include the --json parameter to force the command to send the Content-Type: application/json in the HTTP header.