Engineering guide · ICAM
Delegated Administration Control Plane
On this page
APIPermission And Scope ModelGoverned Bundle LifecycleCertification And ExpiryCreate And Activate A BindingPersistence, Concurrency, And EvidenceFailure BehaviorVerificationAtlas represents delegated administrator authority as an explicit graph:
user | group | OAuth client
|
v
governance request or direct privileged creation
|
v
time-bound signed PENDING binding
|
v
independent AAL3/FAL2 activation
/ \
v v
custom role resource set
permissions exact resources
conditions or explicit all-of-type
This graph is enforcement state, not descriptive metadata. The gateway reloads active bindings for every authorization decision, verifies their ECDSA P-384 signature, and passes only verified grants to the PDP. The PDP then requires the requested capability, resource, and every permission condition to match. Pending, revoked, expired, cross-tenant, malformed, or unverifiable bindings grant nothing.
The focused tmpfs PostgreSQL scenario
scripts/test/run-admin-role-governance-docker-validation.sh proved governed
bundle request and approval, pending native materialization, independent AAL3
activation, restart-safe effective-grant resolution, certification review, and
native signed revocation.
The verified 2026-07-26 evidence is under
artifacts/admin-role-governance-docker-validation/20260726T214139Z/.
Each bundle is also materialized as an active Atlas governance entitlement and access package. The immutable bundle stores both governance identifiers in its evidence hash. This makes request, approval, fulfillment, certification, native binding, and PDP evidence one linked lifecycle instead of parallel descriptive records.
API
All routes use JSON over HTTPS and the gateway bearer-token security scheme.
The live contract and examples are available through /openapi.json and
/docs/.
| Method | Path | Purpose | Capability |
|---|---|---|---|
|
|
List the live signed permission catalog and identify non-delegable authority. |
|
|
|
List or create immutable custom roles with capability permissions and resource-attribute conditions. |
read or |
|
|
Read one custom role. |
read |
|
|
List or create immutable exact-resource scopes. |
read or manage |
|
|
Read one resource set. |
read |
|
|
List or create a requestable role/resource-set pair with maximum access duration and governance references. |
read or manage |
|
|
Read one bundle. |
read |
|
|
Submit a self-service or operator-on-behalf time-bounded governance request. |
authenticated AAL1; governance enforces subject eligibility |
|
|
Launch a governance campaign over every active user, group, and OAuth-client binding in the bundle. |
manage |
|
|
List bindings or create a pending user, group, or OAuth-client assignment. |
read or manage |
|
|
Read one binding and its evidence. |
read |
|
|
Read and verify the ordered append-only lifecycle journal. |
read |
|
|
Activate with independent fresh phishing-resistant AAL3 approval. |
|
|
|
Revoke immediately. |
manage |
|
|
Project already-enforced expiry into the binding journal and linked governance request/outbox. |
manage |
|
|
Idempotently resume pending materialization, activation acknowledgement, or terminal remediation after a cross-authority crash. |
governance request decision authority |
|
|
Idempotently resume a reviewed native revocation and verify its remediation outbox. |
assigned reviewer or governance operator |
|
|
Resolve the same verified grants used at request time. |
read |
Collection creation and revocation require fresh AAL2.
Activation requires fresh AAL3 with a phishing-resistant factor.
The requester cannot activate its own binding, create a binding for itself, or
activate a binding that names it as a principal.
Those checks include the actor’s authoritative group memberships and OAuth
client identity, preventing a nominal group or client assignment from becoming
an indirect self-grant.
OAuth service applications are first-class principals and are resolved from
the validated client_id claim; they do not impersonate a user.
Permission And Scope Model
The permission endpoint is derived from the signed
authorization_capability_policies catalog.
Atlas does not maintain a second vocabulary that can drift from enforcement.
Unknown permissions fail validation.
Root bootstrap, delegation administration, authorization-policy mutation, and
assurance-posture permissions are non-delegable.
A role may contain up to 128 permissions and 64 conditions.
Conditions use string_equals or string_in against:
-
organization; -
mission; -
classification; -
ownerUserId; -
requestedSubject; -
a bounded
attributes.<name>resource attribute.
A resource-set entry contains a resource type and exactly one of:
-
one exact resource identifier; or
-
all: truefor an explicit all-of-type grant.
Empty identifiers never act as wildcards. Each resource set is bounded to 1,000 entries. Each binding is bounded to 1,000 principals and has an absolute expiry no more than 365 days after creation. Bundles can impose a shorter maximum. There is no implicit renewal.
Governed Bundle Lifecycle
Creating a bundle is a cross-authority operation. The gateway first verifies its immutable role and resource set, reserves stable governance identifiers, and idempotently creates:
-
one high-sensitivity
atlas-admin-consoleentitlement whose fulfillment target isatlas_delegated_admin_binding; and -
one Atlas-owned, all-authenticated access package whose assignment duration, approval policy, review cadence, bundle identifier, role identifier, and resource-set identifier are evidence bound.
The authorization bundle is written only after that governance catalog exists. An orphaned catalog record is non-authoritative and safe to reconcile; the reverse partial state, an authority bundle with no governance representation, is not created by the API. Outside explicitly development-like environments, the coordinator accepts only the configured governance gRPC authority or an explicitly durable in-process backend. The gateway’s legacy node-local memory fallback cannot create bundles, accept bundle requests, launch certification, acknowledge activation, or remediate delegated authority in production.
A user requests the bundle:
{
"justification": "Apollo mission support rotation",
"idempotencyKey": "apollo-helpdesk-2026-07-25-user-7",
"requestedExpiresAt": "2026-07-25T22:00:00Z"
}
Non-operators may request only for themselves. The expiry must be in the future and cannot exceed the immutable bundle maximum. Governance also requires a one-use idempotency key and records a hashed replay fingerprint.
Approval does not fulfill the request and does not grant authority.
It atomically materializes a deterministic PENDING binding linked by
governanceRequestId, governanceEntitlementId, and
governanceAccessPackageId.
The approver becomes the binding requester and therefore cannot activate it.
A different actor must satisfy the binding’s AAL3/FAL2 maker-checker controls.
Only after signature creation and compare-and-swap activation does the
coordinator mark the general-governance request and grant outbox fulfilled.
If that final governance write fails, the coordinator immediately writes a signed revocation event and revokes the newly active binding. The API reports the failure; it never leaves usable authority that governance still describes as pending.
Every boundary is retryable without duplicating authority.
POST /api/v1/governance/requests/{id}/reconcile reads the already-committed
governance decision and then:
-
creates the deterministic pending binding if approval committed before materialization;
-
accepts the exact existing pending binding without creating another;
-
integrity-verifies an already-active binding and acknowledges fulfillment if activation committed before the acknowledgement; or
-
resumes native removal for a revoked or expired request.
The reconciliation decision does not change the governance revision or invent a second approval. An existing binding with a different subject, bundle, expiry, request, or lifecycle state is an integrity conflict and fails closed.
Revoking a linked binding performs the inverse convergence:
-
revoke the native authority and append its journal event;
-
change an approved or fulfilled governance request to
revoked; -
verify the queued removal action without changing the request back to
fulfilled.
The governance state machine explicitly permits FULFILLED → REVOKED and
FULFILLED → EXPIRED.
Verifying removal preserves the terminal revoked or expired state, so an
outbox acknowledgement cannot resurrect access.
Certification And Expiry
Bundle certification snapshots active, unexpired bindings into a governance
campaign.
It creates one review item per principal, including group and OAuth-client
principals, and rejects self-review.
The general governance certification decision endpoint remains the single
decision API.
After that authority accepts revoke or disable, the trusted lifecycle
coordinator:
-
reloads and integrity-verifies every matching binding;
-
revokes it using exact revision compare-and-swap;
-
revokes and verifies any linked access request removal;
-
marks the certification remediation outbox complete with native-verification evidence.
An assigned reviewer does not need general governance-operator authority.
Only the internal coordinator receives narrow projection authority after the
certification service has accepted that exact reviewer, item, and decision.
The reviewer remains the evidence actor.
At decision and reconciliation time the gateway also compares the review
subject with the authenticated user’s authoritative groups and OAuth
client_id, preventing group or workload assignment from bypassing the
no-self-review rule.
If a process stops after the certification decision but before all native
updates complete, the item-specific /reconcile route repeats the exact
revocation and outbox verification.
It requires the assigned reviewer or a governance operator, accepts only an
already-decided revoke/disable item, and treats an already-revoked matching
binding as an idempotent success.
It does not treat a never-existing binding as successfully remediated.
Binding expiry is enforced synchronously during every effective-grant
resolution, so an expired binding grants nothing even if a background worker
or database is delayed.
POST /api/v1/iam/role-bindings/lifecycle/reconcile converges those already
ineffective records to REVOKED, moves their governance requests to
expired, and verifies removal actions.
Reconciliation is therefore evidence housekeeping, not a security dependency.
Create And Activate A Binding
Create an immutable role:
{
"name": "Apollo user support",
"permissions": ["identity.users.read"],
"conditions": [{
"permission": "identity.users.read",
"attribute": "mission",
"operator": "string_equals",
"values": ["apollo"]
}]
}
Create its exact resource set:
{
"name": "Apollo identity 77",
"resources": [{
"resourceType": "identity-user",
"resourceId": "user-77"
}]
}
Pair them in a governed bundle:
{
"name": "Apollo bounded help desk",
"roleId": "iam-role-...",
"resourceSetId": "iam-rset-...",
"maximumAccessDurationSeconds": 28800,
"approvalPolicyRef": "two-person-privileged-access",
"certificationRef": "quarterly-admin-review"
}
The bundle response includes governanceEntitlementId and
governanceAccessPackageId.
For ordinary human administration, submit the governed request shown above.
Atlas will create the pending assignment after approval.
Privileged automation may instead create a pending assignment directly:
{
"bundleId": "iam-bundle-...",
"principals": [
{"type": "USER", "id": "user-helpdesk-7"},
{"type": "GROUP", "id": "mission-helpdesk"},
{"type": "OAUTH_CLIENT", "id": "support-automation"}
],
"expiresAt": "2026-07-25T22:00:00Z",
"reason": "approved Apollo support rotation"
}
A user or group binding managed by an external administrator can include
"thirdPartyAdministrator": true. The signed organization
thirdPartyAdmin setting must already be active; Atlas never infers this
classification from a domain or federation provider. OAuth-client principals
cannot carry it. Disabling tenant eligibility immediately suppresses its
request-time grants without deleting the binding’s signed history.
If the signed autoAssignAdminAppSetting value is active when a binding is
independently activated, its response records
"adminConsoleAssigned": true. This is binding-owned console visibility, not
role authority, and later tenant-setting changes do not rewrite the signed
binding. See Organization
Administrative Settings.
An independent approver activates revision 1:
curl --fail-with-body \
-X POST https://atlas.example/api/v1/iam/role-bindings/iam-binding-.../lifecycle/activate \
-H 'Authorization: Bearer ...' \
-H 'Content-Type: application/json' \
-H 'If-Match: "v1"' \
-d '{"reason":"independent mission-owner approval"}'
The response is ACTIVE, revision 2, and includes evidenceHash,
previousEvidenceHash, signatureAlgorithm, and signingKeyId.
The private signing key is never stored with a binding.
Persistence, Concurrency, And Evidence
Roles, resource sets, bundles, and bindings use the durable
atlas_platform_records PostgreSQL authority under the
atlas-authorization service namespace.
Every record identifier includes the tenant boundary.
Creates use atomic insert-only semantics.
Lifecycle changes use exact compare-and-swap against the complete current JSON
record, so two replicas cannot activate or revoke the same revision
differently.
Roles and resource sets are immutable. Changing authority means creating a new definition and binding, then revoking the old binding. This prevents an innocuous-looking role edit from expanding every existing assignment.
Activation signs a canonical statement that binds:
-
tenant, binding identifier, revision, and lifecycle state;
-
expanded permissions, permission conditions, resources, and principals;
-
role and resource-set evidence hashes;
-
requester, independent activator, activation time, and expiry;
-
governance request, entitlement, and access-package identifiers when the binding came from governed access;
-
the previous evidence hash.
Every pending, active, and revoked revision also appends a separately signed
delegated-admin-binding-event.
The PostgreSQL platform-store trigger rejects updates and deletes for this
record kind.
Request-time resolution requires the current binding to match the highest
journal revision, then recomputes the evidence hash and verifies the ECDSA
P-384 signatures under the configured policy verification key.
A replayed older ACTIVE record therefore conflicts with the later immutable
REVOKED journal head and grants nothing.
Missing signing or verification keys cause activation or resolution to fail
closed.
The PDP decision’s request hash includes the verified grants, and the signed
decision identifies each binding that supplied authority.
Failure Behavior
The API returns:
-
400for unknown permissions, invalid conditions, unbounded collections, invalid expiry, invalid reviewer scope, or malformed governance linkage; -
403for missing capability, insufficient assurance, stale authentication, self-grant, maker-checker failure, or non-delegable authority; -
404without cross-tenant disclosure; -
409for duplicate identifiers or compare-and-swap conflicts; -
428when a lifecycle request omitsIf-Match; -
503when storage, the signed catalog, signing, or integrity verification is unavailable.
An integrity failure never falls back to unverified role names or cached standing privilege.
Verification
Run the focused unit, HTTP, PDP, and OpenAPI tests:
Internal implementation checks are omitted from this public guide.
Compile the Docker-tagged PostgreSQL restart test without starting containers:
Internal implementation checks are omitted from this public guide.
When the validation host has sufficient capacity, run
scripts/test/run-icam-workflow-docker-validation.sh.
The HTTP lifecycle test submits and approves a real governance request,
proves approval remains pending, independently activates its signed binding,
and proves an assigned certification reviewer revokes both authorities and
completes remediation evidence.
The tagged PostgreSQL test creates and independently activates an OAuth-client binding,
reopens PostgreSQL through a new store and service instance, verifies the
signature and exact scope, proves out-of-scope denial, and proves tenant
isolation.
The script writes logs and a SHA-256 manifest under
artifacts/icam-workflow-docker-validation/.