Skip to content
Customer Data Connector
DocsDeployment & BYOC

Customer Data Connector

The one component that stands between Vorflux and your data — how it authenticates, what it allows, and how it behaves when things go wrong.

The Customer Data Connector runs on a host in your VPC. It holds a long-lived, outbound WebSocket (WSS) connection to the Vorflux Connector Relay, authenticated with a bearer ConnectorToken issued for your tenant. It receives typed requests over that connection and executes them against your data services and sandbox machines under local policy. For where it fits in the overall design, see Bring Your Own Cloud.

Provisioning

  1. During onboarding, Vorflux creates a tenant record and registers a connector for it.
  2. Vorflux issues a long-lived bearer ConnectorToken unique to your tenant.
  3. You deploy the connector into your VPC — the CloudFormation stack does this for you and stores the token in AWS Secrets Manager.
  4. The ConnectorToken is bound to exactly one tenant in Vorflux. It is never sent back to Vorflux in request payloads; it is used only to authenticate the outbound WSS connection.

Establishing the connection

  • The connector opens an outbound WSS connection to the Connector Relay on port 443.
  • The relay validates the bearer ConnectorToken and maps it to exactly one tenant before accepting the connection.
  • Your tenant identity comes from the ConnectorToken itself. Nothing in a request payload can claim to be a different tenant.
  • Once authenticated, the relay multiplexes logical streams over the connection for individual data-plane requests.

What travels over the connection

Requests are typed product operations — for example read session state, append a tool result, fetch artifact metadata, or execute a database query. The connector validates every request against its operation allowlist before executing it. Some operation types (such as database queries) carry SQL as a structured parameter in the request; the connector — not Vorflux — holds the credentials to execute them.

What Vorflux never holds: database or Redis credentials, S3 access keys, KMS decrypt permissions, or a network route to any private endpoint in your VPC.

Token management and revocation

  • The ConnectorToken is a long-lived bearer credential generated once during onboarding and stored in AWS Secrets Manager in your account.
  • Revocation is immediate from either side: Vorflux can invalidate a token at the relay, and you can stop the connector or redeploy with a new token.
  • If a token is suspected compromised, contact Vorflux support to issue a replacement; update the connector's Secrets Manager entry and restart it.

Resilience

  • Heartbeats keep the long-lived connection verified; a silent tunnel is detected and replaced.
  • Reconnects use exponential backoff with jitter, so a relay or network blip does not become a thundering herd.
  • Safe retries — every request carries a deadline, an idempotency key, and an operation ID, so a retried write is applied once.
  • Active-active replicas — when more than one connector replica is running, the relay routes each request to any healthy replica for your tenant.
  • Backpressure caps queue growth when a service on your side is degraded, rather than buffering without bound.
If no connector is reachable, Vorflux reports the environment as unavailable and the affected operations fail. There is no fallback path that bypasses the connector or its policy checks.

Operating the connector

  • Scope database users, IAM roles, bucket policies, and KMS grants to exactly the operations the connector performs — nothing broader.
  • Keep sandbox instances private. Allow the sandbox tool port (raw TCP, port 59010) only from the connector's security group.
  • Limit sandbox egress to the HTTPS destinations agents need — typically your code host, package registries, and approved model providers.
  • Send connector request logs, policy decisions, certificate identities, KMS context, and any break-glass events to your audit pipeline.

Turning access off

Any one of these closes Vorflux's path to your data:

  • Stop or uninstall the connector.
  • Revoke the ConnectorToken or its tunnel registration.
  • Revoke the connector's database role, KMS grant, or S3 bucket policy.
  • Remove the connector from the sandbox security group.