> For the complete documentation index, see [llms.txt](https://docs.terrakube.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.terrakube.io/user-guide/terrakube-cli/commands.md).

# Commands

This section provides complete documentation and usage examples for all resource subcommands in `terrakube`.

## Available Command Domains

| Command Domain                                                                                     | Description                                                                           |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [**Authentication**](/user-guide/terrakube-cli/commands/auth.md)                                   | Authenticate (`login`) and end sessions (`logout`).                                   |
| [**Organization**](/user-guide/terrakube-cli/commands/organization.md)                             | Manage Terrakube organizations.                                                       |
| [**Organization Tag**](/user-guide/terrakube-cli/commands/tag.md)                                  | Create and list organization tags.                                                    |
| [**Team**](/user-guide/terrakube-cli/commands/team.md)                                             | Manage teams and organization role permissions.                                       |
| [**Team Token**](/user-guide/terrakube-cli/commands/team-token.md)                                 | Generate, list, and delete team API access tokens.                                    |
| [**Workspace**](/user-guide/terrakube-cli/commands/workspace.md)                                   | Manage workspaces, VCS sources, OpenTofu/Terraform execution settings.                |
| [**Workspace Variable**](/user-guide/terrakube-cli/commands/variable.md)                           | Manage environment (ENV) and Terraform (TERRAFORM) workspace variables.               |
| [**Workspace Tag**](/user-guide/terrakube-cli/commands/workspace-tag.md)                           | Associate tags with workspaces.                                                       |
| [**Workspace Schedule**](/user-guide/terrakube-cli/commands/workspace-schedule.md)                 | Configure automated cron schedules and template triggers for workspaces.              |
| [**Workspace Access**](/user-guide/terrakube-cli/commands/workspace-access.md)                     | Configure team permissions on specific workspaces.                                    |
| [**Workspace Action**](/user-guide/terrakube-cli/commands/action.md)                               | Manage custom UI action buttons and execution criteria.                               |
| [**Workspace Address**](/user-guide/terrakube-cli/commands/address.md)                             | Manage workspace remote state address mappings.                                       |
| [**Notification Configuration**](/user-guide/terrakube-cli/commands/notification-configuration.md) | Manage Slack, Microsoft Teams, and custom Webhook notification integrations.          |
| [**Notification Trigger**](/user-guide/terrakube-cli/commands/notification-trigger.md)             | Define status triggers (`completed`, `failed`, etc.) for notification configurations. |
| [**Job**](/user-guide/terrakube-cli/commands/job.md)                                               | Trigger, inspect, and cancel Terraform/OpenTofu jobs (`plan`, `apply`, `destroy`).    |
| [**Job Step**](/user-guide/terrakube-cli/commands/step.md)                                         | Inspect and update individual workflow execution steps.                               |
| [**Job History**](/user-guide/terrakube-cli/commands/history.md)                                   | View workspace execution history and state serial revisions.                          |
| [**Operations**](/user-guide/terrakube-cli/commands/operations.md)                                 | Execute atomic JSON:API batch operation files (`atomic:operations`).                  |
| [**VCS**](/user-guide/terrakube-cli/commands/vcs.md)                                               | Connect and configure VCS providers (GitHub, GitLab, Bitbucket, Azure DevOps).        |
| [**Webhook**](/user-guide/terrakube-cli/commands/webhook.md)                                       | Configure workspace VCS webhooks for automated triggering.                            |
| [**Webhook Event**](/user-guide/terrakube-cli/commands/webhook-event.md)                           | Map branch patterns and event types to templates.                                     |
| [**GitHub App Token**](/user-guide/terrakube-cli/commands/github-app-token.md)                     | Manage GitHub App installation tokens.                                                |
| [**Provider**](/user-guide/terrakube-cli/commands/provider.md)                                     | Manage private registry providers.                                                    |
| [**Provider Version**](/user-guide/terrakube-cli/commands/provider-version.md)                     | Manage private provider release versions and protocols.                               |
| [**Provider Implementation**](/user-guide/terrakube-cli/commands/implementation.md)                | Manage architecture binaries, SHA256 checksums, and PGP signatures for providers.     |
| [**Organization Module**](/user-guide/terrakube-cli/commands/module.md)                            | Manage private registry Terraform modules.                                            |
| [**Module Version**](/user-guide/terrakube-cli/commands/module-version.md)                         | Manage release versions and git references for private modules.                       |
| [**Organization Variable**](/user-guide/terrakube-cli/commands/organization-variable.md)           | Manage global variables shared across all organization workspaces.                    |
| [**Organization Agent**](/user-guide/terrakube-cli/commands/agent.md)                              | Register and manage self-hosted agent execution endpoints.                            |
| [**SSH Key**](/user-guide/terrakube-cli/commands/ssh.md)                                           | Store SSH private keys for private VCS git repositories.                              |
| [**Template**](/user-guide/terrakube-cli/commands/template.md)                                     | Define reusable Terrakube TCL workflow flow templates.                                |
| [**Collection**](/user-guide/terrakube-cli/commands/collection.md)                                 | Create reusable variable collections.                                                 |
| [**Collection Item**](/user-guide/terrakube-cli/commands/collection-item.md)                       | Add key/value items to collections.                                                   |
| [**Collection Reference**](/user-guide/terrakube-cli/commands/collection-reference.md)             | Link collections to target workspaces.                                                |
| [**Project**](/user-guide/terrakube-cli/commands/project.md)                                       | Group workspaces into logical projects.                                               |
| [**Project Access**](/user-guide/terrakube-cli/commands/project-access.md)                         | Set team access permissions on projects.                                              |
| [**Federated Identity**](/user-guide/terrakube-cli/commands/federated.md)                          | Configure OIDC federated identity providers.                                          |
| [**Federated Claim**](/user-guide/terrakube-cli/commands/federated-claim.md)                       | Define federated identity claims for workload identity authentication.                |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.terrakube.io/user-guide/terrakube-cli/commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
