CLI and REST API
Two interfaces run workflows without the web UI: the tdk command, and the REST API of your Governor deployment.
| Command-line interface | REST API | |
|---|---|---|
What it runs |
A configuration file you pass to it. |
A workflow saved in Governor, by its ID. |
Where the run happens |
On the machine where you run |
On a worker connected to Governor. |
Connections |
Command-line options, environment variables or an inventory file. |
The workflow’s data sources in Governor. |
Authentication |
The database credentials you give it. |
An access key in the |
Results |
Log output in your terminal. |
Run status and logs from the API, and the run history in the web UI. |
Use it when |
You keep configurations in version control, or can’t run Governor. |
Workflows are managed in Governor, and a pipeline starts them. |
-
Options, commands, and the environment variables that replace them.
-
Endpoints, run statuses, errors, and a pipeline example.
-
Create the key that the REST API needs.