F-Secure Elements Vulnerability Management API uses API keys for authentication.
An API key consists of an access key (for example, PA3IAKNANLM9) and a secret key (for example, UO9mkDEHFGa1Vau6o#1AfxwRmBQW@!qV). Note that the sample requests in this documentation show access and secret keys enclosed in brackets, which must be omitted when you submit requests.
To create an API key:
-
- Log in to the F-Secure Elements Security Center.
- Click the user icon in the top-right corner of the page and select My profile.
- Scroll down to the Configure API Keys section.
- Add a new API key and store it safely.
Apply the created API key to the HTTP header of every API request that requires authentication.
-
- Run a simple request to check the authentication:
curl -X GET https://api.radar.f-secure.com/api/integration/authenticationcheck
-H ‘Content-Type: application/json’
-H ‘ApiAccessKey: {ApiAccessKey}’
-H ‘ApiSecretKey: {ApiSecretKey}’
If authentication was successful, you will get a HTTP response with status code 200 Authenticated.