Connect to Turbot Pipes from the Steampipe CLI

You can use the Steampipe CLI to query your workspace database, or to run benchmarks and controls against your workspace. You will need to create an API token, and then set the PIPES_TOKEN environment variable to authenticate:

export PIPES_TOKEN=tpt_c6f5tmpe4mv9appio5rg_3jz0a8fakekeyf8ng72qr646

You can get the information needed to connect to your Turbot Pipes database instance from the Query tab for your workspace. On the Query tab, click the info button at the top of the query window to show the connection information. You can get specific steampipe commands from the Steampipe CLI tab: