Lacework
Access helpful articles and other FAQs on Lacework
nicky-fortinet
Article Id 403543
Description This article explains how to configure the Lacework FortiCNAPP CLI with a downloaded API key. 
Scope FortiCNAPP, Lacework, CLI, API.
Solution

First, download an API key from the Lacework FortiCNAPP platform by going to Settings -> API Keys. Select the key, then select the icon to download it.


lwcliplatform.jpg

 

Next, switch to the command line with the FortiCNAPP CLI installed:

 

Run the following command:

 

lacework configure -j <PATH TO API KEY FILE>

This will then automatically configure the FortiCNAPP Lacework CLI with the downloaded key.