KDCube
← Our Journal

KDCube users can now give their own scripts, agents, and DevOps jobs a bounded way to call KDCube. The feature is called Delegated Access — the Delegated by KDCube tab in Connection Hub: a signed-in user chooses resources and operations, creates a short-lived bearer token, and gives that token to automation. The automation does not become the user's browser session — it acts as a delegated client, while KDCube projects the approving user as the grantor.

user opens Connection Hub
        |
        v
Delegated by KDCube
        |
        | choose resource_grants + selected operations
        v
one-time bearer token
        |
        | Authorization: Bearer ...
        v
managed KDCube REST or MCP surface
        |
        v
application runs as grantor user, with delegated provenance

One record shape: resource_grants

The important design choice is that the issued access record stores resource_grants, not separate resource and grant lists:

{
  "resource_grants": {
    "*/api/integrations/bundles/*/*/news@2026-05-20-12-05/operations/publish*": ["news:write"]
  },
  "operations": ["news_publish"]
}

That means grants are scoped to the resource they belong to. A token with {A: read, B: write} cannot use write on A. For admins, the all-resource case is also explicit:

{ "resource_grants": { "*": ["kdcube:role:super-admin"] } }

So an administrator can create a DevOps automation token for all platform and application APIs, while a regular user sees only the resources they are allowed to delegate.

This is different from connecting Gmail, Slack, or another provider account. Provider-account connections let KDCube call an external service for the user. Delegated Access lets an external automation call KDCube for the user.

Everything the user granted lives in one place. The tab's Granted access list shows manual tokens next to external clients that connected through the OAuth consent flow — each row badged by origin, with its approval time, per-resource access, and expiry — and every row has its own Revoke. Revoking cuts that automation or client off immediately.

Read the deeper article: Create Delegated Automation Access — the full model, the guard, admin all-resource tokens, configuration, and failure modes.

KDCube Journal · 04.07.2026