How to create API keys for F-Secure Radar API authentication

Issue:

How to create API keys for F-Secure Radar API authentication?

Resolution:

F-Secure Radar 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 braces, which must be omitted when you submit requests.

Follow the steps below to create an API key:

  1. Log in to F-Secure Radar.
  2. Select My profile.
  3. Scroll down to the Configure API Keys section.
  4. 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.
  5. 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.

Note:
Single quote works in Linux environment. When using CURL in Windows Operating System, recommended to use double quotes masked with backslash (\). Backslash is used to escape the inner quotes.

Example:
curl -X POST https://api.radar.f-secure.com/api/integration/assetMonitoring/withStartIndex/0/andPageSize/250 -H "Content-Type: application/json" -H "ApiAccessKey: {ApiAccessKey}" -H "ApiSecretKey: {ApiSecretKey}" -d "{\"AssetSourceType\": \"Custom\"}"

    Article no: 000018219

    Pricing & Product Info

    For product info and pricing please go to the F-Secure product page

    Version history
    Revision #:
    1 of 1
    Last update:
    2 weeks ago
    Updated by:
     
    Labels (3)