Scim Providers

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up scim providers by linking your central directory to target apps over HTTPS. The provider then creates, updates, and deletes user accounts and group roles on its own. Most engineering teams map broad directory groups straight to database or cloud admin roles. When those groups grant too much power, every member gets full write permissions all day. How scim providers sync accounts and groups A SCIM setup uses a standard REST API to push identity data between systems. Your central ide

Providers: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

You set up scim providers by linking your central directory to target apps over HTTPS. The provider then creates, updates, and deletes user accounts and group roles on its own. Most engineering teams map broad directory groups straight to database or cloud admin roles. When those groups grant too much power, every member gets full write permissions all day.

How scim providers sync accounts and groups

A SCIM setup uses a standard REST API to push identity data between systems. Your central identity system acts as the source of truth for all staff profiles. Target apps and cloud tools act as service providers that receive those profile updates.

First, an admin generates a secret bearer token inside the target app. Next, the admin pastes that token and the app URL into the identity source. The identity system then checks the app endpoint to see what user fields match.

After this handshake, the system maps directory attributes like work emails to app user profiles. Admins also assign directory groups to specific app roles during this setup step. When a new developer joins the team, the HR system updates the main directory. The directory then sends a web request to create the account in every linked app.

Group sync works the same way across your whole software stack. Moving an engineer into a backend group adds their profile to matching roles downstream. When someone leaves the company, the directory sends a disable call to revoke their login.

What directory sync solves and what it misses

Directory sync removes manual account setup and cuts down on orphaned user accounts. Security teams do not have to chase down old logins across dozens of tools. When HR marks a user as inactive, the sync engine turns off their app logins. It also keeps group memberships consistent between your central directory and your cloud tools.

Still, account sync only controls who can log in to a system. It has no control over what a user does after the session starts. Most target tools only accept coarse group mappings like read-only or full admin.

Providers: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To keep tickets moving, admins often put whole engineering teams into high-trust groups. Once inside, an engineer holds standing permissions to run any query or delete command. A SCIM link cannot inspect individual SQL statements or block a bad shell command.

Directory sync also cannot hide sensitive fields inside a query result. If a table holds phone numbers, card numbers, or national IDs, the user sees raw text. Syncing an account does not rewrite matched fields in results or check live traffic.

Why static group roles fail during live incidents

During an outage, responders need fast write permissions to fix broken production services. Directory sync moves on a set schedule or waits for manual group edits. Waiting for a group push to finish can stall a critical fix.

To avoid delays, teams leave production write roles attached to on-call groups at all times. That choice creates standing privilege across every database and server in your stack. A simple typo in a terminal can drop a table with no review step.

Audit logs from directory tools only show when an account joined a group. They never show the actual commands, queries, or payloads run during a live session. Teams need runtime controls that inspect each action and apply rules on the fly.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

What is the difference between SAML and SCIM?

SAML handles user login checks and passes a signed token when someone signs in. SCIM runs in the background to create, update, and delete user accounts and groups.

Do scim providers remove the need for database role management?

No, they only push user profiles and high-level group links to the target system. You still need fine-grained controls to manage what queries or commands run during a session.

How fast do SCIM updates reach target apps?

Push-based directories send account updates within seconds or minutes of a profile change. Some systems poll on a fixed timer, which can delay role updates during urgent fixes.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.