kubectl access are granted together.
Roles and scoped assignments replace the earlier admin/member split. Existing members keep working:
admin and member map onto the new model, and wider roles become available as you adopt them.How access is decided
An assignment ties a member to a role at a scope. When the role includes Kubernetes access, Ankra reconciles the matching Cluster Access grants onto every cluster the scope resolves to, and keeps them in sync as group membership changes.Built-in roles
read-only from the earlier model maps to viewer.
The organisation role a member holds is a floor that reaches every project. A sixth membership choice, Project only, holds no organisation role at all: the member reaches only the projects they are given a role in. See Project-only members.
You can also define custom roles that bundle a specific permission set and, optionally, a Kubernetes access level provisioned across the assignment’s scope.
Kubernetes access in custom roles
The Kubernetes access level a custom role bundles (view, edit, admin or cluster-admin) becomes a Cluster Access grant on every cluster in the assignment’s scope. That access is always clamped to the ceiling of the organisation access policy: a role that bundles cluster-admin in an organisation whose ceiling is edit gives edit. When the ceiling is lowered, role-bundled access drops to it within about a minute. Grants made directly on a cluster are not changed when the policy changes.
Two permissions control the edges of Kubernetes access:
kube_access.policychanges the organisation access policy. Owners and admins hold it and use it from a signed-in session: it is human-only, and no API token can be created with it. A member withkube_access.managecan propose a change for them to apply.kube_access.elevateis break-glass: its holder can give itself time-boxed, reasoned access to a cluster within the policy, and nothing else. It cannot grant anyone else, create a standing grant, list grants or change the policy. A custom role holding onlykube_access.elevateandkube_access.use, with Kubernetes access set toview, is the recommended role for automation that needs break-glass access - see Break-glass elevation. The portal’s role editor cannot make that role: it giveskube_access.elevateonly at the Manage level of Kubernetes and cluster operations, together withkube_access.manageandkube_access.policy. Create it with the API instead (POST /api/v1/org/organisation/roleswith the permission list); the CLI has no command that creates roles.
Permission matrix
Every permission Ankra checks, and which built-in role holds it. A custom role can hold any combination of these. The table is generated from the platform’s permission registry, so it lists exactly what the platform enforces. Two patterns to notice when you review access:- Every built-in role can read. All read permissions, including ask-mode AI (
ai.use), are shared by every role, with two exceptions:audit.readis held byadminandowneronly, andkubernetes.logsby every role butviewer. A custom role can grant either on its own. - Some powers sit only with
adminandowner. Among them are revealing stored credentials (credentials.reveal), managing members and tokens, choosing the AI provider (ai.manage), and replacing, rotating or deleting an organisation secret (secrets.manage). The matrix also listspromotions.approveandpromotions.request: both are registered, but starting a promotion needsapplications.deployand has no approval step. - Reading a Kubernetes Secret’s values is its own permission.
kubernetes.readshows a Secret’s key names and a digest of each value. The digest changes when the value changes, and it is keyed per cluster, so it cannot be used to check a guessed value. The values needkubernetes.secrets_reveal(in the console, Reveal values; in the CLI,ankra cluster get secrets <name> -n <namespace> --reveal), whichoperator,adminandownerhold andmemberandviewerdo not, and every reveal is written to the audit log. Custom roles that already heldkubernetes.writewhen the permission was introduced on 2026-10-01 were given it too, because a role that can apply workloads can already mount a Secret into one. Other custom roles, and API tokens restricted to a list of scopes, get it only when you add it. The same permission is needed to reveal the passwords and keys in a Helm release’s values, and to read or change Secrets withkubectlthrough Ankra, whatever role the access grant gives.
Organisation, people and audit
Clusters and Kubernetes
Stacks, configuration and secrets
Applications and delivery
Alerts, security and backups
AI
Scopes
A project assignment never confers the permissions that are about the organisation as a whole.
organisation.*, members.*, billing.*, tokens.*, audit.*, projects.*, kube_access.manage, kube_access.policy, sops.manage, secrets.manage, git.manage, security.manage, ai.manage, workspaces.manage and profiles.share are dropped from it whatever the role, so an admin of one project is the resource half of admin inside that project: it deploys, operates and configures everything in the project, and cannot invite members, see invoices, mint organisation tokens or create projects.
Project-only members
A role assigned in a project limits what a member can do there. It does not by itself limit what they can see, because every member also holds an organisation role -viewer at the least - that reaches every project read-only. To limit a person to one project, make them a Project only member:
- Choose Project only as the membership role when you invite them, or change it on their row on the People page. From the CLI,
ankra org invite <email> --role project --project <project> --project-role <role>invites them straight into one project. - Then assign them
admin,operator,memberorviewerin each project they should reach (memberis the CLI’s default). They see those projects and nothing else. - They can never hold an organisation-level permission - members, billing, other members’ tokens, the audit log and organisation settings are out of reach whatever role they are given in a project - and when they sign in they land in their current project if they still reach it, otherwise in the oldest project they reach.
Cluster groups
A cluster group is a named set of clusters used as an assignment scope. A group is one of two kinds:- Ones I pick - you pin specific clusters as members.
- By label - a
key=valuelabel evaluated against the clusters, so clusters join and leave the group automatically as their labels change.
- Click New group and give it a Name.
- Under Which clusters, choose Ones I pick and tick the Clusters, or choose By label and write the Label, such as
environment=production. Before you save, the form says which clusters match: “Matches <clusters> today.”, or “No cluster has this label today. A new cluster with it joins on its own.” - Click Create group. The group is listed as By label or Picked, with who holds a role on it (“Nobody has a role on this group yet.” until you assign one).
Matching on a cluster’s environment
In a group By label, theenvironment key matches the label set on each cluster. Set it under Infrastructure → Clusters → <your cluster> → Settings → General: click Change what it’s used for, open Change its label and type the Label. From the CLI, pass --environment to any ankra cluster <provider> create or ankra cluster managed create, or run ankra cluster update <cluster> --environment <name> later. The match is exact and case-sensitive, so production does not match a cluster labelled Production, and a cluster with no label never matches. Change a cluster’s label and it moves in or out of every group on that key, but access does not follow at once: platform permissions catch up within about a minute, and the Kubernetes access those assignments bundle within about a minute and a half. That applies in both directions, so a cluster moved out of production keeps the access its old groups gave for that long.
Every other key matches the cluster’s other labels. Neither the portal nor the CLI sets those, so build environment-based access on the environment key.
Example: restrict production to a DevOps role
Give a DevOps team full control of production, including Secret values, and everyone else read-only access with no actions.1
Label the production clusters
On each production cluster, open Settings → General, click Change what it’s used for, open Change its label and set Label to
production. The Name and use section then shows Label production.2
Create a production group
Under Identity & access → Roles → Cluster groups, click New group, choose By label and write
environment=production. Check that the form matches exactly your production clusters, then click Create group.3
Create the DevOps role
Under Custom roles, click New role and give it a Name. Under What it may do, set Kubernetes and cluster operations to Change (this holds
kubernetes.write, kubernetes.exec, kubernetes.secrets_reveal and clusters.operate on top of kubernetes.read) and Clusters and backups to Change (this holds kube_access.use, which kubectl access needs). Under Kubernetes access on clusters, click Add Kubernetes access, set Where to Whole cluster and Rights to Cluster admin, so kubectl has full control too. Admin stops short of that: it does not manage cluster-wide objects such as nodes, namespaces and custom resource definitions. Click Create role. The built-in operator role holds the same platform permissions but bundles no kubectl access.4
Give it on the production group
For each team member, go to Identity & access → People, open the options on their row, choose Give more access on some clusters…, pick the DevOps role under Role and the production group under On, and click Give access. The dialog lists it under Extra access they have now.
5
Give everyone else viewer
On each other member’s row choose Change role…, pick Viewer and click Make Viewer. Viewers read resources across every cluster but cannot apply, delete, restart, scale, open a terminal, read pod logs or reveal Secret values.
viewer still reads ConfigMaps and environment values written directly into a pod spec, because kubernetes.read covers them. Pod logs need kubernetes.logs, which member and every role above it hold and viewer does not, because logs carry whatever a workload prints. Secret values need kubernetes.secrets_reveal, so keep credentials in Secrets.Assigning a role
Changing roles needs themembers.manage permission (admin and owner by default).
- Portal
- CLI
1
Open People
Go to Identity & access → People (
/next/organisation/people). Each member’s row has an options menu.2
Change the organisation role
Choose Change role…, pick the role under Role (a custom role comes on top of what a Viewer may do), and click Make followed by the role’s name, for example Make Operator. The dialog says “The new role applies the next time they load a page. Extra roles on single clusters stay.”
3
Or add a role on some clusters
Choose Give more access on some clusters…, pick a Role, and pick where under On: a cluster, a cluster group or a project, each project listed as
<name> (project). Click Give access. A cluster group or a project follows its clusters: a cluster that joins it is covered too. To remove one, click Take back beside it under Extra access they have now.4
Check it
Open the member’s row. Their page shows their role, the extra access they hold and what they can do in each area. If the role bundles Kubernetes access, Ankra reconciles the grants onto every cluster in scope.
Audit log
Every access change - invitations, role assignments, cluster-group edits, revocations - is recorded in the organisation’s audit log under Identity & access → Audit log, so you can see who changed what and when.Related
Cluster Access
Scoped, SSO-backed kubectl access.
Organisations
Invite and manage members.
Organisation Settings
Configure organisation-wide behaviour.
API Tokens
Create tokens for scripts, CI, and MCP clients.