Skip to main content

Step 1: Sign in to the CONFSEC web console


CONFSEC web console

Step 2: Create a service account

  1. Navigate to the API Keys tab from the home page
  2. Click the ”+” icon to create a new service account
  3. Give the service account a name and, optionally, a spend limit

Step 3: Create an API key

  1. From your service account’s detail page, click Create Key
  2. Give the API key a name and an expiration date
  3. Copy the API key and store it securely

Step 4: Download the CONFSEC CLI

  1. In the navigation bar, click “Clients”
  2. Select the OS/architecture of your choice and download
  3. Unzip the file and store the executable somewhere in your PATH

Step 5: Use the CONFSEC CLI

  1. Make sure your API key is set as an environment variable:
export CONFSEC_API_KEY=<your-api-key>
  1. Run the confsec executable to list available commands:
confsec --help