Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Box connector

Configure the Box connector to provision users and groups to Box using a Platform App with JWT server authentication.

The Box connector (box-connector-rabbitmq) provisions users and groups to Box using the official Box Java SDK. It authenticates as a Box Platform App with Server Authentication (JWT) at the enterprise level, so no interactive login is involved.

Operation
Supported

Create / update user (Save)

✅

Delete user

✅

Suspend / resume user

✅

Reset password

✅

Search users

✅

Login

✅

Test connection

✅

Group create/update, delete, search

✅

Use cases

  • Automating the joiner/mover/leaver lifecycle for Box accounts — create, update, disable, and remove Box users as part of provisioning.

  • Managing Box group memberships from OpenIAM roles and groups.

  • Importing existing Box users and groups into OpenIAM via synchronization for visibility and access review.

Versions and compatibility

The end application is Box, reached through Box's own Java SDK rather than by building REST calls directly. What the connector supports is therefore what the bundled SDK supports.

Property
Value

Platform

Box

Interface

Box Java SDK, bundled at version 4.8.0

Host

Box's own API endpoints, resolved by the SDK

Because the SDK is bundled with the connector, upgrading it is a connector release rather than a configuration change. A Box API capability newer than SDK 4.8.0 is not reachable until the connector ships a newer SDK.

Prerequisites

You need a Box Platform App with Server Authentication (JWT), created in the Box Developer Console, and network access from the connector host to the Box API (api.box.com, HTTPS).

1

Give the app App + Enterprise access and the scopes to manage users and manage groups.

2

Generate (or upload) the app's public/private keypair.

3

Download the app's configuration as JSON (App Settings → download the settings JSON) — it contains the client ID/secret, the app-auth keypair, and your enterprise ID.

4

Have a Box admin authorize the app in the Box Admin Console (custom apps must be authorized by client ID before the enterprise connection works).

Installing the connector

Kubernetes

In Kubernetes deployments, the connector is deployed as part of OpenIAM — enable it in your deployment configuration; no separate installation is required.

RPM

Run the connector JAR directly:

Or, when managed by systemd, use the connector service unit (openiam-connector@box-connector-rabbitmq). To deploy on a separate host, see Connectors via RPM.

Starting, stopping, and restarting

Deployment
Commands

RPM (systemd)

systemctl start|stop|restart openiam-connector@box-connector-rabbitmq

RPM (manual)

Start with the java -jar command above; stop by killing the process.

Kubernetes

kubectl rollout restart the connector deployment.

Command-line parameters and properties

The connector is a Spring Boot application. Its defaults ship inside the jar, and you override them in either of two places:

  • An external property file, read at ${confpath}/conf/properties/box-connector-rabbitmq.properties. The file is optional, and confpath is itself a system property, set with -Dconfpath=/data/openiam/.

  • Directly on the command line, as -D arguments, which win over the file.

Property
Default

org.openiam.connector.queue

BOX_Connector_1_Request

org.openiam.connector.queueResponseName

BOX_Connector_1_Response

org.openiam.connector.name / .type

Box / Box Connector

The connection details themselves are not set here — they are managed system parameters, covered under Configuring the managed system.

Verifying the connector is running

1

In the Webconsole, open the managed system — the Running connector status indicator must be green.

2

Click Test Connection — it must return success.

3

In the RabbitMQ management console, confirm the BOX_Connector_1_Request queue exists and has a consumer.

4

Check the connector log for startup errors.

Troubleshooting

Symptom
Likely cause
Resolution

Every operation fails with INVALID_CONFIGURATION — "Config path is empty!"

The CONFIG_PATH managed-system attribute is missing or empty

Add the attribute with the absolute path to the settings JSON.

Connector log shows "Cannot find file" / "Cannot read the file"

The settings JSON is not at the configured path on the connector host, or permissions block it

Fix the path/permissions — remember the file must live where the connector runs, not where the Webconsole runs.

Box API rejects the connection

The app is not authorized in the Box Admin Console, or lacks scopes

Authorize the app by client ID and grant manage-users/manage-groups scopes.

Connector never receives messages

Queue-name mismatch

The connector record's queue must equal BOX_Connector_1_Request exactly.

Registering the connector in OpenIAM

Register the connector under Provisioning → Connectors and attach it to the managed system — see Registering the connector. Match the queue name exactly:

Configuring the managed system

1

Copy the downloaded Box settings JSON to the host where the Box connector runs, for example /opt/openiam/conf/box/box_config.json.

2

In the Webconsole, create a managed system for Box and select the Box Connector.

3

Add the managed-system attribute that points the connector at the credentials file:

Managed-system attribute
Required
Value

CONFIG_PATH

Yes

Absolute path to the Box JWT settings JSON file on the connector host.

The standard URL/login/password connection fields are not used for authentication. The connector caches the Box connection per managed system and re-reads the configuration file when the path or managed system changes.

Attribute mapping and policy map

Map OpenIAM user attributes to Box user fields (name, login/email, status) in the managed system's policy map. Group assignments provision Box group memberships.

Reconciliation and synchronization

The search operations supply Box users and groups as source records. Configure a sync against the managed system as described in Configuring synchronization to import Box accounts and groups into OpenIAM.

Last updated

Was this helpful?