Agent access

Give agents access for a specific job

Agents act for someone, so they need an identity, a scope, an approval, and an off switch.

Who is acting

Four ways to get scoped access

A developer, a service, an agent, a management tool. Each gets a defined scope.

A developer

CLI access

How it’s granted
Sign in, then create a personal credential for the intended service.
What limits it
Scopes and expiry choices on a personal token.
How it ends
Revoke the token.
personal tokenscopesexpiry

A service or worker

Workload identity

How it’s granted
Register a worker identity and its intended audience. It requests an audience-bound access token.
What limits it
Short-lived tokens, plus live resource-policy checks at the API.
How it ends
Rotate its credentials or revoke its access.
POST/v1/workload/token

An agent, approved by a person

Delegated access

How it’s granted
A person reviews the request and approves it in a browser or device flow.
What limits it
A target service, actions, and resources, exchanged for short-lived access tokens.
How it ends
Revoke the grant.
browser approvaldevice approval

A tool managing Keyrox

Management automation

How it’s granted
Connect the tool with a suitable service credential.
What limits it
Supported API and MCP operations, filtered by the credential’s permissions.
How it ends
Rotate or revoke the credential.
POST/v1/mcp

The management endpoint is distinct from a product’s own protected MCP endpoint.

Walk through it

Approve one job. Deny the rest.

You’re the release engineer. An agent wants to deploy one app to staging. Approve it, then test the limits.

  1. 1

    The agent asks for access

    release-agent needs to deploy kinedrop-web to staging through the deployment API.

  2. 2

    A person approves that one job

    In a browser or device flow, you review the service, action, and resource, then approve.

  3. 3

    The agent exchanges the grant for a token

    It receives a short-lived token for the deployment API, not a standing credential.

  4. 4

    The API checks every request

    Try the job it was approved for, then something unrelated. Finally, remove the access.

Grant Not requested

Service
deployment API
Action
deploy
App
kinedrop-web
Environment
staging

Token None

Audience
deployment API
Lifetime
Short-lived
Held by
release-agent
Approved by
Pending

Activity

  1. Nothing has happened yet. Send the request to begin.

Illustrative. KineDrop returns a simulated deployment result.

What the service checks

The API decides, one request at a time

Keyrox issues the credential. The target API validates the caller and decides. In KineDrop, it checks five things.

  • TenantYour Keyrox tenant
  • Audiencedeployment API
  • Actiondeploy
  • Appkinedrop-web
  • Environmentstaging
Kind of checkWhat to know
Offline signature checkFollows the verifier’s token validity rules. A token can carry a snapshot of permissions.
Live authorization checkResolves current access, so a change applies on the next request. Resource authorization can use POST /v1/check.
Revocation-aware validationA separate check from recomputing current product permissions. Use the one your integration needs.

Operate access over time

Rotate. Revoke. Keep a record.

When the job ends, so does the access. Effective access changes on the next live check.

Rotate credentials

Replace service, workload, and environment credentials on your schedule.

Revoke access

Remove a grant or a personal token when the job is done. A revoked grant can’t be exchanged for new tokens.

Inspect audit events

Review recorded audit events to see what changed and when.

Meet developers where they work

Manage Keyrox from your own tools

Console, CLI, or supported automation tools. Scoped management credentials decide what each tool can do.

  • Console and CLI

    Use Keyrox sessions to configure apps, environments, and grants.

  • REST API and TypeScript SDK

    Integrate sign-in, access checks, and credentials from your backend.

  • Credential-scoped MCP tools

    Connect supported tools with a suitable service credential.

Start with one job

Govern one action. Then widen.

Register an environment, finish one round trip, check one protected action. Add workloads and agent grants as you need them.