Skip to content

Agent-side credential store: provision + store creds AS the agent (agent has its own email) #199

@hanwencheng

Description

@hanwencheng

Summary

The cred worker (/v1/cred/store) is master-facing today — the master stores credentials for its actors, and agents receive injected creds at localhost (they don't cred store themselves). But an agent could store creds itself: the provisioner can sign the agent up to a service, and an agent has its own email, so an agent-side credential provision + store flow is feasible.

Motivation

  • Stage-3 steps 11-12 (run on the sandbox as the real §10.2 agent) exercise the cred worker with the agent's STS creds purely as an STS-scoping check — there's no real agent-side cred operation behind it.
  • A real agent-side cred store would let an agent provision + persist its own service credentials, scoped to bots/<agent_omni>/credentials/, using the agent's email for signup/verification — the same per-actor isolation the memory path already has.

Scope (later work)

  • An agent-side cred store/fetch path (CLI subcommand or MCP tool) that signs as the agent and writes to the agent's own credentials/ prefix.
  • Wire it into the provisioner: agent email → service signup → store the minted key.
  • Extend harness/sandbox-agent-isolation.sh to exercise the real agent-side cred roundtrip (today it covers memory only).

Filed per the harness operator/sandbox/CI split discussion — deferred follow-up.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/credentialCredential worker, vault, per-data-class isolationarea/scraperProvisioner scrapers, automation for service signup flowsenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions