The application team is accountable. If auth is self-hosted, the company using it must prove how sessions, logs, deprovisioning, and access controls work in practice. That means owning the evidence, the monitoring, and the incident response path. Outsourcing code does not outsource accountability for identity risk.
Why This Matters for Security Teams
Accountability matters because a self-hosted identity stack is not just another application dependency. It is part of the control plane for access, deprovisioning, session handling, and audit evidence. If it fails a review, the question is not whether the code came from an internal team or a third party; the question is whether the organisation can prove that identity risk is controlled in practice. NIST SP 800-53 Rev. 5 treats identity, auditing, and system integrity as operational obligations, not optional design choices, and NHIMG guidance on NHI Lifecycle Management Guide and Top 10 NHI Issues reflects the same reality: unmanaged credentials, poor logging, and weak offboarding quickly become security incidents.
Security teams often get tripped up by ownership gaps between platform engineering, application owners, and identity administrators. A self-hosted stack may be built by one group, operated by another, and reviewed by a third, but accountability still lands with the application team that depends on it and the company that chose to run it. In practice, many security teams encounter deprovisioning failures only after an ex-employee, stale service account, or unreconciled session has already been exploited.
How It Works in Practice
For a self-hosted identity stack, accountability is demonstrated through evidence, not assertions. The application team should be able to show who can approve access, how session lifetimes are bounded, how logout and revocation work, how logs are retained, and how disabled accounts are actually prevented from authenticating again. That evidence should map to an operating model, not just a policy statement. If the stack issues tokens or sessions, the team needs to prove the revocation path, the monitoring path, and the incident response path.
Practically, this means owning the full lifecycle of identity controls:
- Prove deprovisioning by testing that access is removed when a user, service account, or integration is disabled.
- Verify logs capture authentication events, admin changes, and privileged actions with enough detail for investigation.
- Document who reviews exceptions, stale accounts, and orphaned sessions.
- Show that backups, replicas, and secondary paths do not bypass the primary access policy.
NIST guidance for controls like AC, AU, and IA is useful because it frames identity as an operational control set rather than a documentation exercise. For broader lifecycle expectations, Ultimate Guide to NHIs is explicit about offboarding, rotation, and visibility gaps, while the 80 percent figure for identity breaches involving compromised NHIs shows why evidence of control matters more than intent alone. If the stack cannot demonstrate clean deprovisioning and auditability under review, the organisation should treat that as a security defect, not a paper gap. These controls tend to break down when identity services are self-hosted across multiple clusters or environments because revocation, session state, and audit logs drift out of sync.
Common Variations and Edge Cases
Tighter identity controls often increase operational overhead, so organisations have to balance assurance against release speed and administrative complexity. That tradeoff becomes sharper when the stack supports multiple apps, contractors, CI/CD pipelines, or machine identities that are all governed differently.
There is no universal standard for every self-hosted identity pattern, but current guidance suggests the same accountability rule still applies: whoever chooses to operate the stack must be able to prove deprovisioning, logging, and access control effectiveness. Edge cases include:
- Open-source identity software maintained internally, where support is external but control ownership is internal.
- Hybrid deployments, where cloud identity and self-hosted components split responsibility for session and lifecycle events.
- Emergency access or break-glass accounts, which may be allowed but must be tightly monitored and time-bound.
NHIMG’s research on the Ultimate Guide to NHIs shows how weak lifecycle governance and over-privilege drive real-world exposure, and the same pattern applies to self-hosted identity stacks. The review outcome should therefore be measured by whether the organisation can revoke access quickly, evidence it reliably, and explain the control boundary without ambiguity. In practice, failures are most visible when identity systems are inherited during a platform migration and no one has validated who can actually turn access off.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Accountability depends on owning NHI lifecycle and revocation evidence. |
| CSA MAESTRO | GOV-01 | Governance must define who answers for self-hosted identity control failures. |
| NIST AI RMF | GOVERN | Accountability is a governance function when identity services are operational risk. |
| NIST CSF 2.0 | PR.AC-1 | Access control governance includes proving that deprovisioning actually works. |
| NIST SP 800-53 Rev 5 | AC-2 | Accountability hinges on account management and timely removal of access. |
Assign explicit owners for identity lifecycle, including deprovisioning, logging, and access review.
Related resources from NHI Mgmt Group
- Who is accountable when layered security fails but identity trust was never rechecked?
- How should security teams decide between a lightweight gateway and a full identity provider for self-hosted apps?
- Who is accountable when a virtual desktop platform fails an audit or security review?
- How should security teams choose between a flexible self-hosted identity layer and a structured cloud-native platform when applications are inconsistent?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org