What the agent is
The agent is a container you run inside your VPC, VNet, Kubernetes cluster or data centre. It hosts the connectors, the TDM engine and the industry packs, and it is the only DataNivra component that ever reads your source data.
Network requirements
- Outbound HTTPS from the agent to your DataNivra control-plane endpoint. Proxies are supported.
- No inbound ports. The control plane never connects into your network; the agent polls for work.
- Network reachability from the agent to the sources it reads (read-only) and the targets it provisions.
Identity and enrollment
- An administrator with the agent-management permission creates a one-time enrollment token in the console. It is short-lived and single-use.
- On first start the agent generates its own key pair and enrolls with that token, registering only its public key.
- From then on the agent exchanges a signed assertion for short-lived access tokens. Revoking the agent in the console takes effect at its next token exchange, heartbeat or lease request, and a revoked agent stops all work.
Secrets
Source and target credentials, and masking keys, stay in your secret store. DataNivra configuration refers to them by URI:
| Scheme | Example | Status |
|---|---|---|
env:// | env://DATANIVRA_TDM_READER_PASSWORD | Built in (names must start with an allowed prefix, DATANIVRA_ by default) |
file:// | file://reader | Built in (under the agent's secrets directory; file mode 0600 or 0400) |
k8s:// | k8s://tdm/reader-credentials | Built in (mounted Kubernetes secrets) |
azure-kv:// | azure-kv://tdm-vault/qa-db-password | Needs a provider plugin in a derived agent image, or stage the secret into a file |
aws-sm:// | aws-sm://prod/tdm/reader | Needs a provider plugin in a derived agent image, or stage the secret into a file |
vault:// | vault://secret/tdm#reader | Needs a provider plugin in a derived agent image, or stage the secret into a file |
The agent resolves these locally at run time. The resolved values never leave your environment.
Check the host: datanivra-agent doctor
Run datanivra-agent doctor where the agent runs, before or after enrollment. It checks control-plane DNS, outbound HTTPS, TLS and health, clock skew, local storage and permissions, the agent and protocol versions, and — for each --source-ref or --target-ref you pass — that the secret reference resolves, the connector ships, the source opens and its read-only proof passes, or that the target is writable. Each result has a status, a stable reason code and a link to its fix in the support center; nothing it prints contains a secret value or a row.
Failure behaviour
If the control plane is unreachable, the agent finishes or aborts in-flight work safely, never publishes uncertified output, and does not start new work without a valid lease.
Install it
Every release on Downloads lists a signed, digest-pinned multi-architecture image (linux/amd64 and linux/arm64), the Helm chart and one package per install method, each with its checksum.
| Method | Package | Best for |
|---|---|---|
| Docker (one command) | datanivra-agent-docker-<version>.tar.gz | one Linux host |
| Docker Compose | datanivra-agent-docker-compose-<version>.tar.gz | one Linux host, restart policy and volumes declared |
| Kubernetes (Helm) | datanivra-agent-<version>.tgz + datanivra-agent-<version>-helm-values.yaml | clusters; restricted security context and NetworkPolicy by default |
| Kubernetes (kustomize) | datanivra-agent-kubernetes-generic-<version>.tar.gz | clusters without Helm |
| Azure VNet | datanivra-agent-azure-customer-vnet-<version>.tar.gz | a VM in your VNet, no public IP |
| AWS VPC | datanivra-agent-aws-customer-vpc-<version>.tar.gz | ECS Fargate with encrypted EFS |
The steps are the same everywhere:
- In the console, open Agents → Register an agent and create a one-time enrollment token.
- Download the package and verify it (below).
- Store the token in your secret store and point
DATANIVRA_AGENT_ENROLLMENT_TOKEN_REFat it; setDATANIVRA_AGENT_CONTROL_PLANE_URL. - Start the agent with the package's command (the console's Agents page shows it pre-filled), then run
datanivra-agent doctor.
Verify what you download
# 1. The checksum file was signed by the DataNivra release workflow for this version
cosign verify-blob --bundle SHA256SUMS.cosign.bundle \
--certificate-identity 'https://github.com/manuelbomi/datanivra-platform/.github/workflows/release-agent.yml@refs/tags/agent-v<version>' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' SHA256SUMS
# 2. Every downloaded file matches
sha256sum -c --ignore-missing SHA256SUMS
# 3. Deploy the image by the digest in release-manifest.json, never by a tag
cosign verify ghcr.io/manuelbomi/datanivra-agent@sha256:<digest> \
--certificate-identity 'https://github.com/manuelbomi/datanivra-platform/.github/workflows/release-agent.yml@refs/tags/agent-v<version>' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com'Upgrade and roll back
Upgrade by deploying the new release's image digest with the same state volume: the agent keeps its identity and resumes interrupted work from verified checkpoints. Roll back by deploying the previous digest. The control plane can require a minimum agent version, and it never dispatches a job to an agent that does not advertise what the job needs.
Optional: isolated execution
For stronger separation between row-level work and the agent itself, the agent can run every stage in a fresh, hardened container, a gVisor sandbox or a Firecracker microVM, and your organization can require it. See Isolated execution.