Engineering guide · ICAM

Governance Delegates

Status: currentReviewed: 2026-07-26Audience: governance API developers, access-request developers, certification developers, security reviewers
On this pageWhy Delegate Authority Is SeparateResource ModelScope SemanticsLifecycle And Maker-CheckerAPICreateActivateRuntime ResolutionStorage And EvidenceVerificationOkta Compatibility And Atlas Extensions

Atlas governance delegates let one active tenant user cover another user’s access-request work and certification reviews for a bounded period. The API keeps the familiar Okta delegate concepts—principal, delegate, start, end, and governance work—but implements delegation as a dedicated authority, not as an assignee copy or a generic configuration document.

The delegate API appears in the gateway OpenAPI document at /openapi.json and Swagger UI at /docs/.

Why Delegate Authority Is Separate

A governance delegate is authority to perform specified governance work. It is not:

  • a role grant;

  • impersonation;

  • a directory-manager change;

  • a target-application assignment;

  • permission to delegate again;

  • a way to approve the delegate’s own access; or

  • a way for one actor to satisfy multiple distinct approval steps.

Atlas persists the original approver or reviewer on the task. While work is pending, the service resolves current delegate authority for the requested scope. It returns both original and effective identities. When the work is decided, it binds the exact delegate authority revision and evidence hash to the decision.

This model is deliberately stronger than copying the delegate into new work. Activation, withdrawal, expiry, user suspension, or organization-policy changes take effect without rewriting every open task.

Resource Model

Field Required Contract

principalUserId

yes

Original accountable tenant user.

delegateUserId

yes

Different active tenant user who may perform the selected work.

delegateType

yes

OKTA_USER. The name preserves an Okta-friendly client vocabulary; Atlas resolves the value against its own tenant directory.

scopes

yes

One or more of approval, question, task, access_request, certification, or all.

scope

compatibility alias

One legacy scope value. scopes is authoritative in new clients.

startsAt

optional

RFC 3339 start instant. Omission means the server’s current time.

endsAt

yes

RFC 3339 exclusive end. Authority is always bounded and cannot exceed the organization’s configured maximumDelegateDays, which cannot exceed 90.

note

optional

Non-secret operational context, at most 2,000 characters.

status

server controlled

pending, active, inactive, retired, or deleted.

revision

server controlled

Monotonic optimistic-concurrency revision, encoded as a JSON string by protobuf JSON.

requiresIndependentApproval

server controlled

True for approval, access_request, certification, and all.

evidenceHash

server controlled

SHA-256 state seal checked on every authoritative read.

Both principal and delegate must resolve to active users in the authenticated tenant. Protected principals from organization governance settings cannot participate in ordinary delegation.

Scope Semantics

approval

Decide an approval-type governance task assigned to the principal.

question

Answer or complete a question-type governance task assigned to the principal.

task

Complete an ordinary governance task assigned to the principal.

access_request

Cover all supported access-request work types. This is high-risk and requires independent activation.

certification

Decide a pending certification item whose original reviewer is the principal.

all

All supported governance work. It does not mean all Atlas permissions and does not bypass task-specific authorization.

An organization can narrow the allowed scope set and can disable end-user delegate management. Organization settings cannot remove fresh-AAL2, separation-of-duties, tenant, bounded-duration, or evidence requirements.

Lifecycle And Maker-Checker

State lifecycle
State lifecycleState diagramOpen full size ↗

High-risk authority is never active on creation. Activation must be performed with fresh AAL2 by an administrator other than:

  • createdBy;

  • lastModifiedBy;

  • principalUserId; and

  • delegateUserId.

Activation rechecks the users, time window, organization settings, overlap, chains, and cycles. An active authority is configuration-immutable. Deactivate it before changing scopes or its time window. Principal and delegate identities are immutable so the evidence chain cannot silently change its subjects; create a new authority for a different pair. retired and deleted are terminal. Delete is a retained tombstone, never a physical delete.

Atlas rejects overlapping principal/scope/time authorities rather than selecting a first match. It also rejects a principal who is an active or pending delegate elsewhere and a delegate who is an active or pending principal elsewhere. Consequently, standing delegation is non-transitive and cannot become ambiguous.

API

All paths are below /api/v1/governance/control/delegates.

Method Path Purpose

GET

/

List with principalUserId, delegateUserId, status, scope, pageSize, and pageToken filters.

POST

/

Create bounded authority.

GET

/{delegateId}

Read one tenant-qualified authority and its current ETag.

PUT

/{delegateId}

Revise an inactive authority.

POST

/{delegateId}/lifecycle/{transition}

Transition to active, inactive, or retired.

DELETE

/{delegateId}

Tombstone a pending or inactive authority.

GET

/{delegateId}/events

Read the append-only lifecycle evidence chain.

Every mutation requires Idempotency-Key. Existing-resource mutations also require If-Match: "v<revision>". Reusing an idempotency key with a different actor, operation, expected revision, or request body returns 409 Conflict. An exact retry returns the previously committed result even if its original revision is now stale.

Create

POST /api/v1/governance/control/delegates HTTP/1.1
Authorization: Bearer <access-token>
Content-Type: application/json
Idempotency-Key: leave-coverage-2026-07-26-0001

{
  "delegate": {
    "principalUserId": "resource.owner",
    "delegateUserId": "backup.owner",
    "delegateType": "OKTA_USER",
    "scopes": ["approval", "certification"],
    "startsAt": "2026-07-27T12:00:00Z",
    "endsAt": "2026-08-03T12:00:00Z",
    "note": "Approved mission coverage window"
  }
}

The response is 201 Created, includes ETag: "v1", and has status pending because these scopes are high-risk.

Activate

POST /api/v1/governance/control/delegates/gda_123/lifecycle/active HTTP/1.1
Authorization: Bearer <independent-admin-token>
Content-Type: application/json
Idempotency-Key: delegate-activation-2026-07-26-0001
If-Match: "v1"

{"reason":"Independent identity, scope, and coverage verification"}

A successful response is 200 OK, has a new ETag, and records activatedBy and activatedAt. Self-activation returns 403 Forbidden. A stale revision, overlap, invalid state transition, or changed replay binding returns 409 Conflict.

Runtime Resolution

Process diagram
Process diagramArchitecture diagramOpen full size ↗

Access-request tasks store originalAssigneeUserId. Certification items store originalReviewerUserId. List, individual read, and decision paths resolve effectiveAssigneeUserId or effectiveReviewerUserId from current authority.

Resolution fails closed if:

  • more than one authority could match;

  • the authority is not active at the service clock;

  • either tenant user is no longer eligible;

  • the work type is outside the scope;

  • delegation would be transitive;

  • the actor is the access subject or requester for a protected approval;

  • the actor already completed another distinct approval step; or

  • certification would become self-review.

Manual reassignment of one task remains separate, explicit task state. It cannot use standing authority to delegate again.

Storage And Evidence

Production authority lives in dedicated governance_delegates and governance_delegate_events tables, separate from the generic governance control-record store. PostgreSQL enforces:

  • tenant-composite keys;

  • active tenant-user resolution;

  • maximum 90-day bounds;

  • permitted status and scope values;

  • scalar-to-protobuf-payload agreement;

  • database-derived payload SHA-256;

  • no overlapping active or pending scope windows;

  • no active or pending chains or cycles;

  • independent high-risk activation;

  • append-only event rows and no physical authority deletion; and

  • atomic compare-and-swap mutation, idempotency binding, and event append.

The service additionally verifies its signed evidence seal and the event hash chain on read. A storage mutation and its evidence event commit in one serializable transaction.

Decision records preserve decidedByUserId, the authority ID, authority revision, and authority evidence hash. This proves who acted and which exact delegation permitted the action while retaining the original accountable principal.

Verification

Unit and gateway tests cover:

  • exact retry replay before stale-CAS evaluation;

  • concurrent compare-and-swap with exactly one winner;

  • independent high-risk activation;

  • overlap, chain, cycle, and ineligible-user denial;

  • live access-task and certification-review resolution without copied state;

  • immediate withdrawal and reactivation behavior;

  • decision evidence binding;

  • terminal tombstones; and

  • ordered event-chain verification.

The focused PostgreSQL Docker validation is run with:

scripts/test/run-governance-delegate-docker-validation.sh

It exercises migrations, restart continuity, concurrent authority mutation, live directory eligibility, and direct SQL tamper rejection. The runner writes a SHA-256 manifest under artifacts/governance-delegate-docker-validation/.

Okta Compatibility And Atlas Extensions

Okta documents governance delegates as coverage for access-request tasks and access-certification review items, identifies both the original reviewer and delegate, and does not support delegated-delegate chains. See the Okta developer delegate guide and Okta Identity Governance delegate help.

Atlas preserves those client concepts and adds explicit scopes, strong ETags, actor-bound idempotency, a high-risk maker-checker lifecycle, current-authority resolution for open work, ambiguity rejection, directory revalidation, retained tombstones, database constraints, and cryptographically linked evidence. These are Atlas security guarantees, not claims about external Okta storage internals.