DataZen Documentation
DataZen User Guide

Security

DataZen applies security across the Web Portal, DataZen Manager, DataSync agents, connections, and Change Logs. Use this overview to choose the right control for cloud-hosted and self-hosted agents.

Cloud vs Self-Hosted

Capability Cloud Agent Self-Hosted Agent
Service Tokens (scoped programmatic API access) Supported (Portal and Manager) Supported
Administrative API Keys Not available by default; Portal access only when enabled by request Supported
Windows / AD security group access (Administrators and Scoped Groups) Not applicable Supported (SSO via group membership)
IP Firewall for Portal access Supported (Portal only) Not available
X.509 certificates (encryption / signing) Supported (Portal and Manager) Supported (Portal and Manager; local store options in Manager)
Agent HTTP API transport Always SSL HTTP by default (port 9559); HTTPS when you bind a certificate

Web Portal

For cloud agents, most day-to-day security settings are managed in the agent Portal under Administration (Service Tokens, IP Firewall, Users) and Configuration → Certificates. DataZen Manager can also manage cloud agents, but the Portal is the primary experience for cloud deployments.

Cloud agent traffic is always SSL encrypted. By default, cloud agents run in a multitenant compute model with a dedicated database for your settings and connection strings. You can optionally use shared storage for Change Logs, or store Change Logs in your own cloud storage. Encrypting and signing Change Logs is recommended for maximum privacy.

Service Tokens

Service Tokens provide scoped programmatic access to the DataZen API and are available for both cloud and self-hosted agents. In the Portal, open Administration → Service Tokens, then choose Create New Token. Provide an optional comment, select scopes (and optionally topics, tags, and an X.509 signing certificate), set an expiration date, and save.

Web Portal Administration Service Tokens page
Web Portal: Service Tokens under Administration.
Web Portal Create New Token dialog with scopes, topics, tags, optional X.509 signing, and expiration date
Web Portal: Create New Token dialog (scopes, topics, tags, and optional X.509 signing).

Scopes control which API operations the token can perform (for example agent, job, connections, or security scopes). Prefer the least privilege required for the integration.

Web Portal Create New Token scopes dropdown listing All, Agent_all, Job_all, and other scopes
Web Portal: selectable token scopes.

In addition to scopes, a Service Token can be assigned one or more Topics. Topics gate access to pipelines exposed as MCP Tools. The available topic list is built dynamically from the topics configured on those tools. Selecting topics for a Service Token limits which MCP Tools an AI agent can discover and use. A topic value of * (star) means all topics are allowed, which grants the Service Token access to all MCP Tools. If no topic is selected, the token cannot use any MCP Tool.

Tokens can also be gated by Tags for development access. When Tags are assigned on a token, callers can only access pipelines that have those tags. Leaving Tags unrestricted means the token is not limited by pipeline tags.

Optionally, a Service Token can require X.509 signing. When enabled, callers must also sign each request with the selected certificate. See X.509 Certificates.

Administrative API Keys

Administrative API Keys that grant access to the DataZen API are intended for self-hosted agents. They are not part of the standard cloud agent Portal experience. Customers who need these settings in the Portal must request access; when enabled, the Portal can expose the administrative key controls for that tenant.

Do not confuse Administrative API Keys with Service Tokens. Service Tokens are the standard scoped-token option for both agent types. Administrative API Keys are a self-hosted (or request-enabled) control for broader DataZen API access levels.

IP Firewall

IP Firewall is available for cloud agents only and is configured in the Web Portal under Administration → IP Firewall. Use it to restrict which client IP addresses can reach the agent’s Portal pages. When IP Filtering is off, all IPs are allowed. When enabled, only addresses that match a firewall rule are permitted. Self-hosted agents do not include this feature.

Web Portal IP Filtering and Firewall Rules settings
Web Portal: IP Filtering and Firewall Rules.

Certificates

Manage encryption and signing certificates from Configuration → Certificates in the Portal. You can create a new certificate, delete selected certificates, or refresh the list. For certificate usage details, see X.509 Certificates.

Web Portal Certificates page with New, Delete, and Refresh actions
Web Portal: Certificates under Configuration.

HTTP/S connection client certificates are stored with the connection itself and are not listed on this central Certificates screen. See X.509 Certificates for HTTP/S.

DataZen Manager and Self-Hosted Agents

DataZen Manager does not store sensitive data locally, but it displays and sends credentials and security settings to agents. Manager communicates with an agent through the DataZen HTTP API. Cloud agents always use SSL. Self-hosted agents listen on port 9559 by default; you can change the port and bind an SSL certificate (for example on 443) to encrypt administrative traffic. Even without SSL, connection strings are transferred encrypted by DataZen.

Authentication and Security Groups

DataZen Manager uses the local Windows sign-on for the workstation. After you register a DataSync Agent, access to that agent requires authorization. Choose Configuration → Agent Settings to manage security groups for the selected agent. AD Groups are available for self-hosted agents only and enable Single Sign-On authorization through group membership.

DataZen Manager Agent Settings security groups screen
DataZen Manager
By default, members of BUILTIN\Administrators are automatically treated as DataZen administrators (the first-time initialization behavior). On the Security Groups tab under Configuration → Agent Settings, administrators can check Disable default local admin access to lock this down so BUILTIN\Administrators is no longer granted DataZen administrator rights automatically. Remote administration still requires additional configuration.

An AD Group can be added as an Administrator. Users in those groups can fully manage the selected agent.

In addition, a Scoped AD Group can be added with discrete access similar to Service Tokens, including scopes, tags, topics, and optional X.509 certificates. For example, create an AD Group named DZ Developers; anyone in that group receives the configured access rights without issuing individual tokens.

DataZen Manager Scoped Group dialog with group name, scopes, MCP topics, pipeline tags, and optional X.509 signing
DataZen Manager: Scoped Group options (scopes, topics, tags, and optional X.509 signing).
A user that belongs to an AD Group added in both Administrators and Scoped Groups is treated as a DataZen Administrator.

Administrative Access Keys (Self-Hosted)

Administrative Shared Keys are disabled by default. When enabled on a self-hosted agent, you can choose an access level and optionally create scope-based service-specific keys with an expiration date.

DataZen Manager Agent Settings Administrative Access Keys screen
DataZen Manager

Access levels

  • None — admin keys cannot be used for authentication
  • Administrative — full DataZen API access (equivalent to the all scope)
  • Agent API — full Agent API access (equivalent to agent_all)
  • Jobs API — Jobs API access (equivalent to job_all, connections_all, security_all)
  • Scope-Based — access limited to the selected scopes

These keys can authenticate DataZen Manager or programmatic clients such as Postman. See the Agent API 3.0 specification.

Service Tokens in DataZen Manager

DataZen Manager includes a dedicated Service Tokens screen with the same options as the Web Portal (scopes, topics, tags, optional X.509 signing, expiration, and comment). Open Configuration → Security → Manage Tokens to create or edit tokens for the selected agent.

DataZen Manager Access Token dialog with scopes, MCP topics, pipeline tags, and optional X.509 signing
DataZen Manager: Access Token dialog (Configuration → Security → Manage Tokens).

Prefer Service Tokens for integrations, development tools (such as the VS Code Extension), and monitoring applications. Reserve Administrative Access Keys for self-hosted scenarios that specifically require those access levels.

X.509 Certificates in Manager

DataZen Manager Agent Settings certificates tab
DataZen Manager

Configure certificates for signature and authentication on this tab. Certificates must first be registered with Manage Certificates. See X.509 Certificates.

Self-Hosted SSL Encryption

Unless configured otherwise, self-hosted agents listen on HTTP port 9559 without TLS. To secure administrative traffic, install an SSL certificate and bind it to the listening port.

To bind EnzoDS.exe to port 443, update appSettings in EnzoDS.exe.Config:

<add key="listenerPort" value="443" />
<add key="listenerUrl" value="https://SERVERNAME" />

The following high-level steps create a self-signed certificate for test environments. For production, use a public Certificate Authority.

  • Create a CA certificate:
    makecert -n "CN=datazen" -r -sv datazen.pvk datazen.cer
    Add the certificate to Trusted Root Certification Authorities.
  • Create an SSL certificate (replace YOURSERVERNAME):
    makecert -sk DataZenSSL -iv datazen.pvk -n "CN=YOURSERVERNAME" -ic datazen.cer datazenssl2.cer -sr localmachine -ss My
  • Copy the certificate thumbprint from the Personal certificate store, then bind SSL to port 443:
    netsh http add sslcert ipport=0.0.0.0:443 certhash=THUMBPRINT appid={0abc7514-3558-4142-b81b-79149673bf57} certstorename=MY usagecheck=disable
    netsh http add sslcert ipport=[::]:443 certhash=THUMBPRINT appid={0abc7514-3558-4142-b81b-79149673bf57} certstorename=MY usagecheck=disable

You can then start the agent at https://SERVERNAME on port 443 and connect with DataZen Manager.

Auditing

DataZen stores API activity in the database. Job execution summaries are in jobexecutions; execution details are in executionauditlog. You can also log activity to disk during testing by adding this setting to EnzoDS.exe.Config (not recommended for production performance):

<add key="logFile" value="c:\tmp\enzodslog.txt" />

Access Token Scopes

The following summary lists DataZen API endpoints and the scopes required for access. Endpoints may support GET, PUT, POST, and DELETE. See the DataZen API documentation for details.

Agent Scopes

Endpoint Scopes
/pingall, agent_all, agent.read
/startall, agent_all, agent.run
/statusall, agent_all, agent.read
/stopall, agent_all, agent.run
/versionall, agent_all, agent.read

Job Scopes

Endpoint Scopes
/certificatesall, security_all, security_read, security_write
/changelog/readall, job_all, job_data_read
/changelog/writeall, job_all, job_data_write
/connectionsall, connections_all, connections_read, connections_write
/connections/dball, connections_all, connections_write
/connections/metadataall, connections_all, connections_list
/connectionsinfoall, connections_all, connections_read
/directory/existsall, job_all, job_read
/directory/filesall, job_all, job_read
/joball, job_all, job.write
/job/activeall, job_all, job_run
/job/changelogall, job_all, job_data_read
/job/changelog/readall, job_all, job_data_read
/job/changelogsall, job_all, job_list
/job/historyall, job_all, job_read
/job/lastexecidall, job_all, job_read, job_run
/job/logall, job_all, job_read
/job/outputall, job_all, job_read
/job/pushall, job_all, job_hook_all
/job/settspointerall, job_all, job_write
/job/startall, job_all, job_run
/job/statusall, job_all, job_read
/job/stopall, job_all, job_run
/jobsall, job_all, job_list
/jobs/infoall, job_all, job_list
/jobs/summaryall, job_all, job_list
/mcpall, mcp_all
/monitorall, monitor_all
/mcp/callall, mcp_all
/mcp/toolsall, mcp_all
/refreshtokenall, job_all, job_run
/sql/previewall, job_all, job_read, job_run
/sql/runall, job_all, job_read, job_run
/tokensall, security_all, security_write
/updatekekall, security_all, security_write
/variableall, security_all, security_read, security_write, job_all, job_read, job_write
/variablesall, security_all, security_read, job_all, job_read

Related Security Topics