Protocol and deployment notes · Deployment
Inbound SCIM deployment profile
On this page
Register a sourceConfigure the source endpointOwnership and lifecycle rulesEvidence and operationsStandards and compatibility boundaryAtlas accepts tenant-scoped inbound provisioning directly into Universal Directory. The production gateway serves both SCIM 1.1 and SCIM 2.0; no separate provisioning container is required in the AIO deployment. Protocol enablement is explicit per source client and is independent from human Atlas sessions.
This profile is an implemented interoperability surface, not a SCIM or vendor certification claim. Test the exact Okta, PingFederate, or other source configuration before production cutover.
Register a source
Create the source through the standard Atlas API-client endpoint. The client must be confidential, have at least one SCIM scope, name every permitted protocol version, and choose Basic authentication, certificate-bound mTLS, or both.
{
"name": "Authoritative workforce source",
"type": "service",
"ownerUserId": "<atlas-owner-subject-id>",
"scopes": ["scim:users", "scim:groups"],
"secretRef": "vault://scim/sources/workforce",
"scimProtocolVersions": ["1.1", "2.0"],
"scimAuthenticationMethods": ["basic", "mtls"],
"scimClientCertificateSha256": "<64-lowercase-hex-leaf-certificate-digest>"
}
Send this document to POST /api/v1/oauth2/clients with an authorized Atlas
bearer token. If the returned client is awaiting approval, an independent
operator approves it through
POST /api/v1/oauth2/clients/{clientId}/approve. A disabled, unapproved,
revoked, public, wrong-tenant, or protocol-mismatched client cannot use SCIM.
For Basic authentication, put the source password at the exact vault://
reference. Do not put a clear password in client registration. The source uses
the returned Atlas client ID as its Basic username. For mTLS, Atlas matches the
SHA-256 digest of the leaf in the gateway's verified TLS chain; forwarding an
unverified certificate header is not supported. If TLS terminates before the
gateway, set ATLAS_SCIM_INBOUND_MTLS_ENABLED=false; Atlas then omits x509 from
service-provider metadata and refuses certificate-only authentication.
The stock AIO terminates external TLS at its in-container nginx listener and
therefore sets that option to false. Use Vault-backed Basic authentication on
the normal AIO port. A direct-TLS gateway or a separately validated mTLS
ingress is required before enabling the certificate profile; the AIO does not
trust or reconstruct client identity from forwarding headers.
Configure the source endpoint
Use one base URL per tenant and protocol version:
SCIM 1.1: https://<atlas-host>/scim/v1/<tenant-id>
SCIM 2.0: https://<atlas-host>/scim/v2/<tenant-id>
The production resources are:
| Version | Resources | Write behavior |
|---|---|---|
| 1.1 | Users, Groups, Schemas, ServiceProviderConfigs |
POST, PUT, DELETE; Ping-style X-HTTP-Method-Override: PUT or DELETE on resource POST is accepted |
| 2.0 | Users, Groups, Schemas, ResourceTypes, ServiceProviderConfig |
POST, PUT, PATCH, DELETE |
User and group collection reads support bounded pagination and equality
filters on the advertised attributes. Atlas does not advertise bulk, password,
sort, or change-password support. User password input is rejected. SCIM 1.1
does not advertise or accept PATCH. Consult the live
ServiceProviderConfig(s) response instead of assuming optional features.
Ownership and lifecycle rules
Each source client owns only the users and groups that it created. It cannot enumerate, replace, add members from, or delete another source's bindings. Group membership may reference only active user bindings owned by that exact client. Replacing a source-owned group's member set does not erase unrelated local directory memberships.
Atlas uses a database compare-and-swap version for every mutation and returns
an ETag. If-Match is accepted for source-side concurrency control; stale
writes fail with 409 instead of silently winning. Deletes create durable
tombstones. User deletion terminates the Universal Directory identity rather
than removing its history.
An active SCIM user is subject to the same production TrustAI lifecycle
postcondition as a user activated through the Atlas interface or standard
identity API. The Universal Directory user, enterprise trust subject, stable
fingerprint binding, and SCIM ownership record commit together. If a required
TrustAI authority is unavailable, Atlas returns 503 and rolls the entire
creation or activation back.
Every authenticated request passes the standard PostgreSQL-backed organization
and API-principal rate-limit authorities. Read and write traffic use separate
SCIM buckets. A rate-limit authority failure returns 503; an enforced limit
returns 429 with standard rate-limit headers.
Evidence and operations
Atlas stores source ownership, external identifiers, display metadata, a CAS version, and request digests in PostgreSQL. It does not copy user profile payloads or client secrets into the SCIM event chain. Each outcome appends a hash-linked event and a standard Atlas audit record. Database guards reject event mutation or deletion.
Operational checks:
- Confirm PostgreSQL, Vault, Universal Directory, TrustAI subject/fingerprint authorities, and both rate-limit authorities are healthy.
- Confirm the tenant and source client are active and approved.
- Read the version's service-provider configuration.
- Create a disposable inactive test identity, read it back, update it with the returned ETag, and terminate it before enabling the source's full sync.
- Monitor
429,503, stale-write409, and append-only SCIM audit outcomes.
Run the retained integration gate with:
scripts/test/run-scim-inbound-docker-validation.sh
The gate uses a real PostgreSQL container and independent gateway/service
instances. It proves both versions, users and groups, Basic and direct-gateway exact mTLS
binding, source isolation, tenant suspension, ETag races, restart recovery,
distributed rate-limit admission, TrustAI fail-closed rollback, Vault-reference
custody, minimum-disclosure persistence, append-only evidence, the SCIM 1.1
method override, and SCIM 2.0 PATCH. The independent verifier is
scripts/validation/verify-scim-inbound-docker-validation.py.
Current retained direct-gateway acceptance evidence:
artifacts/scim-inbound-docker-validation/20260815T121400Z/manifest.sha256.
Run the stock-appliance ingress and restart gate with:
scripts/test/run-aio-scim-inbound-validation.sh
That gate builds a disposable AIO image, registers and approves a source through
the standard Atlas API, stores only its password in the embedded validation
Vault, and drives both protocol versions through nginx on the external AIO HTTPS
port. It creates active users and a source-owned group, verifies the Trust
Profile subject/fingerprint postcondition, restarts the entire appliance, and
then proves that the API-client registration, Vault secret, directory resources,
ownership records, evidence chain, and rate-limit state remain usable. The
independent verifier is
scripts/validation/verify-aio-scim-inbound-validation.py.
Current retained stock-AIO acceptance evidence:
artifacts/aio-scim-inbound-validation/20260815T121005Z/manifest.sha256.
Standards and compatibility boundary
The resource model follows RFC 7643 and the SCIM 2 protocol follows RFC 7644.
SCIM 1.1 compatibility is bounded to the operations advertised by Atlas and
the source behaviors documented by Okta and PingFederate. Vendor documentation
links and scope cautions are maintained in
planning/federation-vendor-parity/sources.md; executable Atlas claims are
maintained separately in the capability ledger.