The Veracode APIs require that you enable HMAC authentication for your Python application as a security measure for accessing API resources. The Python authentication library provides an integration between HTTPie and the Veracode APIs, which adds HMAC authentication when using the Veracode APIs from the command line.
- Load the API credentials
- Generate an HMAC authorization header
- Issue an HTTP call to a Veracode API with a valid endpoint
To download and install HTTPie, see https://httpie.org.
To learn more about HTTPie, you can run http --help and review the HTTPie documentation. You can also get tips and examples from https://devhints.io/httpie.
HMAC authentication is the same for all calls, but the other aspects of authentication are specific to the API endpoint you want to call.