Identity (SS-01) + AuthZ (SS-13)
Who you are and what you may do — the front door of every request.
IAM · KMS · GuardDuty · Cognito
Identity, fine-grained authz, secret custody, detection & response, and compliance evidence.
What it is
The trust plane: OIDC identity and multi-tenant users, relationship-based authorization with replayable decisions, a Vault secret and Transit-signing engine, a SecOps detection-and-response platform, GRC controls and findings, plus KYC and privacy (consent, DSAR, erasure). Governance is structural — every service inherits it, none re-implements it.
Auth is one model across every service here — an SS-01 bearer token plus X-Tenant-Id on every /api/v1 route. Public base https://api.nexocloud.io/api/v1.
Services & endpoints
Every path below is a real route from services/<svc>/openapi.json. Each service lists a representative slice of its full contract.
OIDC identity — tenants, users, sessions, token mint/refresh/revoke and introspection.
/api/v1/auth/tokenMint access + refresh tokens (password or client_credentials)./api/v1/auth/introspectIntrospect a bearer token./api/v1/tenantsBootstrap a tenant./api/v1/usersCreate a user in a tenant./api/v1/sessions/end-othersEnd all other sessions for the caller.Secret custody & signing — KV secrets, dynamic creds with leases, and a Transit sign/verify/rotate engine.
/api/v1/secrets/{path}Write a KV secret./api/v1/creds/{role}Issue dynamic credentials for a role (leased)./api/v1/transit/{key}/signSign a payload with a Transit key (audit-chain signing)./api/v1/transit/{key}/rotateRotate a Transit key to a new version.Fine-grained authorization — ReBAC tuples, checks, relationship expansion and replayable decisions.
/api/v1/checkCheck whether a subject may act on an object./api/v1/tuplesWrite relationship tuples./api/v1/expandExpand the relationship graph for an object./api/v1/decisions/{id}/replayReplay a recorded authorization decision.Detection & response — events, detection rules, hunts, cases, containments and network (Zeek) monitoring.
/api/v1/eventsIngest a security event for correlation./api/v1/rulesRegister a detection rule./api/v1/cases/{id}/containmentsPropose a containment action on a case./api/v1/containments/{id}/executeExecute an approved containment./api/v1/zeek/noticesIngest a Zeek network notice, raising a finding.Governance, risk & compliance — controls, evidence intake, findings lifecycle and audit-room rollups.
/api/v1/controlsDefine a compliance control./api/v1/controls/{id}/evidenceAttach evidence to a control./api/v1/findingsRaise a compliance finding./api/v1/rollupRead the control-posture rollup for the audit room.Identity verification — verification cases, checks, adjudication and ongoing monitoring re-screens.
/api/v1/casesOpen a KYC verification case./api/v1/cases/{id}/checksRun verification checks against a case./api/v1/cases/{id}/adjudicateAdjudicate a case to a decision./api/v1/monitoring/rescreenRe-screen a subject against updated watchlists.Privacy & consent — consent capture, purpose gating, DSAR intake and verified erasure.
/api/v1/consentCapture a consent decision./api/v1/can-processCheck whether processing is permitted for a purpose./api/v1/dsarOpen a data-subject access request./api/v1/dsar/{id}/execute-erasureExecute a verified erasure across the platform.Worked example
Every request carries an SS-01 bearer and X-Tenant-Id; AuthZ decides it, Vault Transit signs the resulting audit entry, and the decision is replayable forever.
/api/v1/auth/tokenSS-01 issues an access + refresh pair scoped to the tenant.
/api/v1/checkAuthZ answers allow/deny from relationship tuples and records the decision.
/api/v1/transit/{key}/signVault Transit signs the audit-chain entry (ADR-0014).
/api/v1/decisions/{id}/replayReconstruct exactly why a decision was allowed or denied.
Architecture placement
Security, Identity & Compliance does not reimplement the platform — it composes it. These are the services it leans on and the seams between them.
Who you are and what you may do — the front door of every request.
Secret custody plus the Transit engine that signs the tamper-evident audit chain.
Detection, hunts, cases and containment — 56 operations of D&R, including Zeek network monitoring.
Compliance controls, identity verification and consent/DSAR/erasure over the same tenancy.