Skip to main content
nicky-fortinet
Staff
Staff
July 31, 2025

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

  • July 31, 2025
  • 0 replies
  • 123 views
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.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.