PO Box Guide

Container-based CLI sync for on-premises and otherwise unreachable systems — deployment, supported targets, per-target configuration, the CSV bootstrap step, and ZINC headless deployment.

What PO Box is

PO Box is a Docker/Podman container that simplifies integration with on-premises or otherwise unreachable applications. It's deployed inside your network, runs scripts that query a target system, and sends the results to Idira IGA over an outbound REST API call — Idira IGA never connects into your network.

Because it's containerised, PO Box can run anywhere that supports Docker: a Linux VM, Windows Server, a Kubernetes cluster, or an EC2 instance. The one exception is ARM-based CPUs, which aren't supported.

When you need it

You need PO Box when
  • The system is on-premises or otherwise not reachable from Idira IGA's cloud
  • The system exposes LDAP/LDAPS, a supported database, PowerShell, or a PAM/vault interface
  • You want automated (not admin-driven) sync for an app with no usable API — via ZINC
You don't need PO Box when

Deployment options

PO Box installs in three phases: add the required URLs to your allowlist, deploy the container infrastructure, then create service accounts on each in-scope system. Deploy using whichever of these fits your environment:

  • Docker/Podman on a Linux VM — host on-prem, on a physical device or a VM
  • Helm chart — deploy on Kubernetes or GKE
  • AWS CloudFormation — deploy PO Box on AWS

Once infrastructure is deployed, add the connector configuration for each target system in Idira IGA under App Config.

Network requirements

💡
PO Box only makes outbound connections on port 443. No inbound firewall rules are required.

All data sent to Idira IGA is SSL-encrypted in transit. PO Box calls home to Idira IGA's AWS infrastructure to pull its configuration and push synced data — it never accepts inbound connections, so there's nothing to open on your firewall other than the outbound path.

All supported targets

SystemScript commandSync typeWrite capability
On-premises Active Directory (LDAP/LDAPS)ldap-extractor, ldap-add-account, ldap-disable-accountSync + provisionPartial
MongoDBmongodb-accessSync onlyRead-only
MSSQLdatabase-access (dialect: mssql, driver: pymssql)Sync onlyRead-only
MySQLdatabase-access (dialect: mysql, driver: mysqlconnector)Sync onlyRead-only
Oracle Databasedatabase-access (dialect: oracle, driver: cx_oracle)Sync onlyRead-only
PostgreSQLdatabase-access (dialect: postgresql, driver: psycopg2)Sync onlyRead-only
Amazon Redshiftdatabase-access (dialect: redshift, driver: redshift_connector)Sync onlyRead-only
Exchange OnlinePowerShell scriptsSync onlyRead-only
PAM/Vault (e.g. Delinea, BeyondTrust)PAM scriptsSync onlyRead-only
SnowflakeSnowflake access scriptsSync onlyRead-only

Only on-premises Active Directory supports provisioning through PO Box — create account and disable account. Every other target is sync-only.

Per-target configuration

Credentials and connection details for every target are entered in Idira IGA (see Credentials and secrets), not hardcoded in the container. The shapes below show the fields each target expects.

Active Directory

Requires an SSL connection to activate accounts and set passwords. For provisioning, the service account needs delegated control on the target OU with: create/delete/manage user accounts, reset passwords and force change at next logon, read all user information, and modify group membership. To provision into highly privileged groups (Domain Admins, Enterprise Admins, Administrators, Schema Admins), add the service account to Domain Admins.

{
  "serverUri": "ldap://<domain-controller-ip>",
  "searchBase": "dc=example,dc=com",
  "loginUser": "svc-idira@example.com",
  "loginPassword": "<service-account-password>"
}

Use the highest-level OU you can for searchBase so all AD users are pulled into Idira IGA.

MySQL / PostgreSQL / MSSQL / Oracle / Amazon Redshift

All five database targets use the same database-access script, differing only by dialect and driver. This is the general config shape (values are placeholders):

{
  "dialect": "<mysql | postgresql | mssql | oracle | redshift>",
  "driver": "<mysqlconnector | psycopg2 | pymssql | cx_oracle | redshift_connector>",
  "host": "<db-host-or-ip>",
  "port": "<db-port>",
  "database": "<db-name>",
  "connectionParameters": "retry=true&service_name=Zilla",
  "query": "<read-only SELECT query>",
  "user": "<service-account-username>",
  "password": "<service-account-password>",
  "connectionString": "<dialect>+<driver>://<user>:<password>@<host>:<port>/<database>?<connectionParameters>"
}

Default ports: MySQL 3306, PostgreSQL 5432, MSSQL 1433, Amazon Redshift 5439. You can provide either the individual host/port/database/user/password fields, or a single connectionString — the connection string is masked once saved because it contains credentials.

The query must be read-only. For Amazon Redshift, Idira IGA provides a default query that collects all database users/roles, all non-system tables, and standard table-level permissions (SELECT, INSERT, UPDATE, DELETE) — use this unless you have a specific reason to write your own.

MongoDB

Uses the dedicated mongodb-access script rather than database-access. Field names follow the same pattern as the SQL database targets:

{
  "host": "<mongodb-host-or-ip>",
  "port": "<mongodb-port>",
  "database": "<db-name>",
  "authSource": "<auth-database-name>",
  "user": "<service-account-username>",
  "password": "<service-account-password>"
}

Confirm exact field names for your MongoDB deployment with the Idira Professional Services team when configuring — MongoDB's connection options vary more than the SQL dialects above.

The CSV mapping bootstrap step

⚠️
Database targets require a one-time CSV mapping bootstrap before the first real sync. This is expected behaviour, not an error to troubleshoot around.

For MSSQL, MySQL, Oracle, PostgreSQL, and (if you use a custom query) Amazon Redshift, the very first sync is designed to fail. Do this once, the first time you configure the target:

  1. Configure the application and click Sync Now as normal.
  2. The sync fails with an error — this is expected.
  3. Go to Settings > Audit Logs and download the CSV file for the failed sync attempt.
  4. Open the application's config (gear icon), enable Accounts & Permissions CSV File Upload, and click Next.
  5. Upload the CSV you downloaded, map its columns to Idira IGA fields, and click Next.
  6. Click Discard. Idira IGA saves the column mapping without keeping this one-off CSV as real data.
  7. Re-open the config, disable Accounts & Permissions CSV File Upload, and click Next > Next > Done.
  8. PO Box now syncs normally, using the mapping you just established.

For Amazon Redshift specifically: this step is only required if you replace the default query with a custom one. The default query is pre-mapped and syncs normally on the first attempt.

Credentials and secrets

Credentials are never stored in plaintext in the PO Box container. PO Box calls home to Idira IGA's AWS infrastructure and pulls its configuration — including credentials — from AWS Secrets Manager at sync time, over the same outbound HTTPS connection used to push data.

In practice, this means you enter credentials once in the Idira IGA application config (host, port, database, username, password, or a full connection string), and Idira IGA encrypts and stores them via AWS Secrets Manager on your behalf. Username and password fields are always encrypted when saved; a connection string is masked in the UI after saving because it contains embedded credentials.

Monitoring and troubleshooting

  • Sync fails immediately on first run (database targets) — expected. Follow the CSV mapping bootstrap step.
  • Sync fails with an authentication error — confirm the service account credentials are current and that the account hasn't been locked or expired on the target system.
  • AD sync succeeds but provisioning fails — confirm the service account has the required delegated permissions on the target OU, and that the AD connection uses SSL.
  • No data returned from a database target — confirm the service account has been granted SELECT on the target database, and that the query is scoped to a database the account can actually read.
  • Container can't reach Idira IGA — confirm outbound port 443 is open and the required URLs are on your allowlist (see Deployment options).
  • Check Settings > Audit Logs in Idira IGA for sync history and failure detail on any application, including PO Box-synced ones.

ZINC headless deployment

ZINC runs a Universal Sync recipe headlessly inside a PO Box container, instead of requiring an admin to drive the target app's UI in a browser. It's for apps with no usable API that are on the ZINC supported list: 1Password, Auth0, Box, Docusign, Fullstory, HubSpot, IBM MaaS360, and MongoDB.

Credentials for ZINC-synced apps are stored in AWS Secrets Manager, named Zilla_App_<appID> (the appID is the identifier in your Idira IGA tenant URL). Typical key/value pairs include username, password, and, for apps with MFA enabled, an mfaSecret.

Full ZINC setup — recipe building, the AWS Secrets Manager walkthrough, and mode comparison with the browser extension — is covered in the Universal Sync guide.