Skip to content

Provider Connectors

Providers are external systems such as Entra ID, Active Directory, Okta, Workday, SAP, or CSV exports. Connectors are Roster-owned integrations that query providers and normalize records into the Roster database.

Connectors provide:

  • provider connection configuration
  • credential storage references
  • cached directory user and group refresh
  • normalized directory record data
  • refresh checkpoint behavior

The worker refreshes cached directory records on configured schedules and stores runtime state in the database. It does not full-sync provider directories or import every upstream user, group, or group membership. For group records already attached to participants, it also refreshes the cached direct membership edges used by participant resolution.

If you store directory connector credentials in Roster, keep the same encryption key when upgrading so Roster can still read them.

Terminal window
ROSTER_PROVIDER_SECRET_ENCRYPTION_KEY=<generated-provider-secret-encryption-key>

Set the key in your Roster deployment environment or secret manager. The rules in this section apply to directory connectors. Sign-in providers use their own configuration.

A directory connector can use an environment variable in either of two ways. Give it a name starting with ROSTER_CONNECTOR_SECRET_, or add its exact name to ROSTER_PROVIDER_SECRET_ENV_ALLOWLIST in the Roster deployment. The allowlist takes a comma-separated list of variable names. This keeps connector credentials separate from other Roster server secrets.

Before upgrading, use a CLI version compatible with your running Roster instance to list connector names, environment reference names, and fields that still use HTTP. This filter prints no credential values or URLs:

Terminal window
roster --profile prod --json provider-connectors list \
| jq '.structured_content.provider_connectors[] | {
connector_name: .name,
http_url_fields: ([
"org_url",
"graph_base_url",
"directory_base_url",
"workday_users_report_url",
"workday_groups_report_url",
"workday_group_members_report_url"
] as $fields | to_entries | map(select(
(.key as $name | $fields | index($name) != null)
and (.value | if type == "string" then test("^http://"; "i") else false end)
) | .key)),
secret_reference_names: [
.api_key_ref,
.bind_password_ref,
.client_secret_ref,
.private_key_ref,
.s3_secret_access_key_ref,
.sftp_password_ref,
.sftp_private_key_ref,
.workday_password_ref
] | map(select(type == "string" and length > 0) | sub("^env:"; ""))
}'

To keep an existing name, add it to the allowlist before upgrading. For example, if your Entra ID connector already uses env:ENTRA_CLIENT_SECRET, add this setting to the Roster deployment environment:

ROSTER_PROVIDER_SECRET_ENV_ALLOWLIST=ENTRA_CLIENT_SECRET

If the allowlist already contains names, append the new name with a comma. Keep the existing variable, its value, and the connector reference. You can also rename the variable with the ROSTER_CONNECTOR_SECRET_ prefix and update the connector reference. Use the allowlist only for directory connector credentials. Roster blocks infrastructure secrets even if they are listed.

Use HTTPS for remote Entra ID, Google Workspace, Okta, and Workday endpoints to protect credentials in transit. Update the reported HTTP URLs before upgrading. HTTP continues to work for localhost, its subdomains, and 127.0.0.1 on the machine or container running Roster.

Deploy the updated environment to every Roster instance. The standard worker and live browser-facing requests resolve references from the environment of the Roster instance handling that request, so workers and web replicas need the same approved connector variables.

After upgrading, check that each affected connector completes its next scheduled refresh. Enterprise deployments can confirm a completed worker event in Audit events. Then open an existing participant, choose Users or Groups, select Add, and search for a known provider record to exercise live lookup. If either path fails, use the reported connector and reference names to correct the instance environment or allowlist; Roster does not include credential values in these errors.

CSV connector files can be mounted into:

${ROSTER_DATA_DIR}/connectors/csv

Use durable storage and controlled file delivery for production CSV refreshes.