Create Agent Access Tokens and Download Linux Agent Installers
You create agent access tokens and download the agent installers from the Lacework Console.
The Lacework agent requires a valid access token to successfully authenticate with the Lacework server (API endpoint). You can use the Lacework console to create a new access token or use an existing access token.
Create a New Access Token
To create a new access token in the Lacework Console:
- In the Lacework Console, select Settings > Configuration > Agents.
- Click + Add New.
- In the Name field, enter a unique name for the access token. You can use the agent access token name to logically separate your deployments, for example, by environment types (QA, Dev, etc.) or system types (CentOS, RHEL, etc.).
- In the Description field, you can optionally specify a description.
- Select Linux as the Operating System.
- Click Save to create your new access token for the Windows agent.
- Verify the new token in the Access Token list.
- Click the ... icon in the row for the new token and select Copy to copy the access token.
Use an Existing Access Token
To use an existing access token from the Lacework Console:
- In the Lacework Console, select Settings > Configuration > Agents.
- View the list of access tokens and sort by OS type (either Windows or Linux) under the OS column. The OS column is not displayed by default. To enable this column, click the Select columns icon and enable the OS column.
- Select a Linux access token to use with your agent installation. An access token can be re-used for multiple agent installations.
- Click the ... icon in the row for the token and select Copy to copy the access token.
You can also create an agent access token via the Lacework API. For information about accessing the Lacework API documentation, see Access the Lacework API.
Install an Agent from the Lacework Console
To install an agent from the Lacework Console:
- In the Lacework Console, select Settings > Configuration > Agents.
- Click the row for the access token for the agent you want to install the agent and then click + Add New.
- Click the script or package you want to install.
- Follow the instructions in the appropriate documentation topic to install the agent.
Install an Agent from the Lacework Agent GitHub Repository
To install an agent from the Lacework Agent GitHub repository:
- Download a release package (YourRelease.tgz file) from the Lacework Agent Release GitHub repository.
- Unpack the YourRelease.tgz file into a temporary directory such as /tmp.
- In the Lacework Console, select Settings > Configuration > Agents and create a new access token or use an existing access token by following the instructions above. Click the ... icon in the row for the token and select Copy to copy the access token.
- Follow the instructions in the appropriate documentation topics to install the agent.