Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Identity and Access

Terrakube separates who you are (authentication) from what you can do (authorization).

Who can sign in

Method
Use it for
Page

Single sign-on through Dex

People using the UI

Personal access token

A person's CLI or scripts. Inherits that user's permissions

Team token

Shared automation. Inherits the team's permissions

terraform login

The Terraform CLI against the API and registry

Federated credential

CI jobs and workloads without a stored token

What a user can do

Access is granted to teams, at three levels. A permission at a wider level applies to everything below it.

A team has a role (admin, write, plan, read) or, with the custom role, individual permissions such as managing state, modules, providers, VCS, templates or policies. See Team Management, Project Team Access and Workspace Team Access.

Run restrictions

In 2.34.0, destroying has a separate destroyJob permission. Workspace settings can also limit applies to the configured branch and require approve permission when a template has no approval step. See Run Restrictions for defaults and Recommended Settings for choosing controls for your workflow.

How a run authenticates to your cloud

Dynamic provider credentials let a run assume a cloud role without a stored secret.

The cloud provider trusts Terrakube's public key and matches claims such as the organization, workspace and project in its trust policy. Terrakube must therefore be reachable by the cloud provider on its public JWKS endpoints.

How terraform login works

The token is a normal personal access token that you can delete from your user settings at any time.

Last updated

Was this helpful?