Connections#
An agent with no access to your systems is a chatbot. Connections are how an agent reaches Kubernetes, AWS, your APIs, and your internal tools without ever holding the credentials that make it possible.
Everything on this page shares one property: the agent asks, the platform decides, the platform injects the secret, and the call is recorded.
Four mechanisms#
-
Register clusters and let agents run
kubectlagainst them, including clusters behind a firewall via a reverse tunnel. -
Assume-role access to an account. The agent signs with a fake key; the platform re-signs with real STS credentials.
-
Register upstream MCP servers. Their tools are re-exposed under policy, tool by tool.
-
Turn an OpenAPI document into governed tools, or allow a domain outright through the egress proxy.
Underneath all four is the same policy-controlled proxy: every outbound connection from a sandbox terminates there and is matched against the effective policy before anything leaves.
The pattern#
graph LR
agent[Agent] -->|placeholder| proxy[Egress proxy]
proxy -->|policy check| policy[(Effective policy)]
proxy -->|real secret| upstream[Upstream system]
proxy --> audit[(Audit trail)]
- The agent makes an ordinary request with a placeholder credential, or none at all.
- The proxy matches the destination — domain, HTTP method, URL path — against the effective policy.
- Allowed requests get the real credential substituted at the boundary.
- The upstream sees a normal, authenticated request.
- The event is written to the audit trail, allowed or denied.
The agent never learns the secret, and there is no code path where it could.
Where each lives#
| Resource | Scope | Created with |
|---|---|---|
| Cluster | Project | nexusctl cluster create |
| AWS connection | Project | nexusctl aws-connection create |
| Connector (MCP or HTTP) | Project | nexusctl connector create |
| Credential | Project | nexusctl credential create |
| Domain rules | Policy | nexusctl policy create |
Connections belong to a project. An agent in one project cannot see another project's clusters, accounts, or connectors — that is what makes a project the blast radius.
Registering a connection makes it available. A policy still has to grant it before any agent can use it.
What agents get in a sandbox#
A sandbox whose policy grants a connection reaches it with the tools in its own image. kubectl reads the kubeconfig the platform puts at $KUBECONFIG, and aws calls are re-signed on the way out, so the agent holds no cluster credential and no access key. See Kubernetes and AWS.
Connector tools reach the sandbox through nexus-mcp, a stdio MCP bridge the platform puts on the sandbox's PATH. It connects to the project's MCP endpoint at $NEXUS_MCP_URL, so an agent can list what it has rather than being told.
Related#
- Credentials — storing secrets and defining how they are injected
- Models — the one connection agents always need
- Policies — granting what a connection makes possible
- Audit trail — what was reached, by whom
Connecting a system that is not on this page — a database, a queue, an internal service with an unusual auth scheme — is normal. Talk to us.