Qualys User Account
Authentication
You must authenticate to the Qualys Cloud Platform using Qualys account credentials (user name and password) and get the JSON Web Token (JWT) before you can start using the Certificate View APIs. Use the Qualys Authentication API to get the JWT.
Example Authentication Curl Request:
API Request
curl -X POST
"<qualys_base_url>/auth" -H "Content-Type: application/x-www-form-urlencoded" --data-urlencode "username=<username1>" --data-urlencode "password=<password>" --data-urlencode "token=true&permissions=true"
The following table explains the various components of this request:
| qualys_base_url | It is the base URL for the Qualys API server where your account is located. |
| value1 and value2 | value1 is the username and value 2 is the password of the user account for which you want to fetch Certificate View data. |
| token | It must be true. |
| permissions | It must be true. |
| Content-Type | It must be application/x-www-form-urlencoded. |