Skip to main content
nicky-fortinet
Staff
Staff
Jul 31, 2025 12:37 PM UTC

Technical Tip: Configure the Lacework CLI using a downloaded API key

  • Apr 24, 2026 4:05 PM UTC
  • 0 replies
  • 125 views
  • Translate All
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.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024