Skip to content
Docs

Agent access codes

Scoped credentials that let AI agents deploy and manage your infrastructure within defined limits.

Overview

Agent access codes are separate from API keys. They're designed specifically for AI agents, with built-in scoping for products, permissions and budgets.

Output
Format: ea_live_{random_64_hex}
Example: ea_live_7f3a9b2c4d5e6f1a8b9c0d1e2f3a4b5c...

Warning

Agent codes are shown once at creation. Store them securely. If lost, revoke the old code and create a new one.

Creating an access code

  1. Open Account → Agent Access from the user menu.
  2. Click Create Agent Code.
  3. Enter a descriptive name (e.g. "Cursor Agent", "CI/CD Deploy").
  4. Select which products the agent can access.
  5. Choose permissions (Deploy, Manage, Delete).
  6. Optionally set a budget cap with soft or hard enforcement.
  7. Copy the generated code immediately.

Scoping

Products

Control which Edge products the agent can access:

  • Compute: VMs, scaling
  • CDN: Deployments, domains
  • Storage: Buckets, uploads
  • DNS: Zones, records
  • Shield: bot protection
  • Assist: AI answers

Permissions

PermissionAllows
DeployCreate resources, upload files, deploy applications
ManageView, update and manage existing resources, check health
DeleteDelete resources and tear down projects

Budget caps

Set a monthly spending limit for the agent:

  • Soft cap: The agent receives a warning when approaching the limit but can continue operating. Useful for flexibility with awareness.
  • Hard cap: The agent is blocked from creating new resources once the limit is reached. Useful for strict cost control.

Authentication

Pass the agent access code as a Bearer token:

HTTP
GET https://edge.network/agent
Authorization: Bearer ea_live_7f3a9b2c4d5e6f1a...

Managing codes

  • Edit: update the name, products, permissions and budget cap at any time.
  • Revoke: immediately invalidate a code. Agents using it lose access instantly.
  • Last used: see when each code was last used to identify inactive codes.
  • Multiple codes: create separate codes for different agents or environments.

Best practices

  • One code per agent: use separate codes for each AI tool (Cursor, CI/CD, etc.) for clear audit trails.
  • Least privilege: only enable the products and permissions the agent actually needs.
  • Set a budget cap: even a generous soft cap gives you visibility into agent spending.

Something unclear or out of date? Tell us, or read this page as Markdown.