Identity and Access
Terrakube separates who you are (authentication) from what you can do (authorization).
Who can sign in
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?