Step 1: Sign in to the CONFSEC web console
CONFSEC web console
Step 2: Create a service account
- Navigate to the API Keys tab from the home page
- Click the ”+” icon to create a new service account
- Give the service account a name and, optionally, a spend limit
Step 3: Create an API key
- From your service account’s detail page, click Create Key
- Give the API key a name and an expiration date
- Copy the API key and store it securely
Step 4: Download the CONFSEC CLI
- In the navigation bar, click “Clients”
- Select the OS/architecture of your choice and download
- Unzip the file and store the executable somewhere in your
PATH
Step 5: Use the CONFSEC CLI
- Make sure your API key is set as an environment variable:
- Run the
confsecexecutable to list available commands: