TL;DR: Manual service account management is creating unnecessary sprawl, governance gaps, and operational risk as CI/CD, Kubernetes, and automation workloads scale, according to SSH Communications Security. The meaningful change is not just faster provisioning, but a move away from standing machine identities toward ephemeral, scoped access that better fits modern infrastructure.
At a glance
What this is: This is a product-release analysis about machine identity management shifting from manual service accounts to ephemeral access, with the key finding that temporary, federated access reduces sprawl and governance burden.
Why it matters: It matters because IAM, PAM, and NHI teams need to move machine access away from persistent accounts and toward task-scoped issuance, or automation growth will outpace governance.
Context
Machine identity sprawl is the governance gap here. When CI/CD runners, Kubernetes workloads, API clients, and automation scripts each get manually created accounts, access management starts to resemble human joiner-mover-leaver processes even though the runtime pattern is different.
The article argues for ephemeral access instead of standing service accounts, which means credentials and roles are issued only when needed and then removed. For NHI programmes, the real issue is not automation volume alone but whether persistent identity records still match the way machines actually operate.
Key questions
Q: What breaks when service accounts keep long-lived standing access?
A: Long-lived standing access turns one intercepted credential into a reusable credential for lateral movement and persistence. If the token or account is not scoped tightly, the attacker can impersonate the service for as long as it remains valid. That makes revocation speed and privilege scope the decisive controls.
Q: Why do ephemeral nodes and just-in-time access reduce risk for CI/CD and engineering workflows?
A: Ephemeral nodes and just-in-time access reduce standing exposure by making access temporary, task scoped, and automatically withdrawn when the job ends. That matters for CI/CD because runners and containers are short lived by design. The control limits credential reuse, narrows blast radius, and helps teams keep automation aligned with workload purpose rather than permanent privilege.
Q: How do teams know if machine identity governance is actually working?
A: Look for evidence that each service account has a current owner, a narrow purpose, a short credential lifetime, and a clear retirement path. If any of those are missing, the programme may appear controlled on paper while still leaving durable access paths in production.
Q: When should organisations prefer federated access over local machine accounts?
A: Organisations should prefer federated access when the workload or operator already trusts an external identity provider and the local account would only duplicate that trust. In those cases, federation reduces account sprawl, preserves approval workflows, and keeps governance attached to the upstream identity system.
How it works in practice
Why ephemeral user directories matter for NHI governance
Ephemeral user directories replace persistent machine accounts with temporary identities created at the moment a workload presents a valid external token, such as a JWT. The platform maps that assertion to a short-lived local user, assigns the needed role, and tears the identity down after use. That changes the control point from account provisioning to issuance-time trust, which is a better fit for CI/CD pipelines and Kubernetes workloads that may exist for minutes rather than days. It also reduces orphaned accounts and scope drift across fast-moving automation estates.
Practical implication: move governance from account creation to token issuance, expiry, and teardown.
Federated privileged access for OIDC-authenticated users
The second mechanism is federated access for humans who operate in machine-heavy environments. When an OIDC-authenticated user can request role approval directly, the privileged access workflow no longer depends on local account duplication. Retaining user records for a configurable period after logout preserves the audit trail without making the account itself the control objective. API proxy credentials and authorized SSH keys extend the same model to users authenticated through enterprise identity systems, which helps unify access patterns across human and non-human operators.
Practical implication: treat federation, approval, and audit retention as one governed access path rather than separate exceptions.
Delegated role management without governance collapse
Delegated role management is a scope-control pattern, not a free-for-all. Administrators can create and manage roles inside a bounded group without acquiring broader authority, which preserves local flexibility while keeping central governance intact. This matters because identity sprawl is often matched by administrative sprawl: every team wants control over its own automation, but few want the risk of unconstrained privilege expansion. The architectural value is the separation of administrative scope from entitlement scope.
Practical implication: delegate role administration only inside explicit scope boundaries and audit those boundaries separately.
NHI Mgmt Group analysis
Ephemeral machine access is becoming the default governance model for scaled automation: Persistent service accounts no longer match the runtime shape of CI/CD, Kubernetes, and API-driven operations. When identities exist only for a task window, governance has to follow issuance and teardown instead of assuming long-lived account stewardship. The programme implication is that machine access should be governed as a lifecycle event, not a static record.
Standing machine identities create identity blast radius: The more workflows share locally managed accounts, the more one compromise or misconfiguration can propagate across pipelines and clusters. That is not just an operational inconvenience, it is a structural expansion of privilege scope. The practitioner conclusion is that identity reuse should be treated as an exposure multiplier, not an efficiency gain.
Ephemeral credential trust debt: This concept names the hidden risk created when organisations rely on temporary work patterns but still govern access as if it were durable. The account record survives longer than the job, the approval survives longer than the session, and the audit trail no longer reflects actual use. The implication is that access governance must be re-centred on time-bounded trust decisions.
Federation is now a machine identity control, not just a human convenience: The article shows that OIDC, approval workflows, and retained audit visibility can extend privileged access without duplicating local accounts. That matters because modern privileged access programmes increasingly need a single governance pattern that spans humans, workloads, and automation operators. The practitioner conclusion is to design access workflows around trusted assertions rather than account proliferation.
From our research library:
- NHIs outnumber human identities by 25x to 50x in modern enterprises, according to the Ultimate Guide to NHIs.
- 59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026.
- Read next: Service Account Security Guide
What this signals
Identity blast radius: Persistent machine accounts increase the number of places where one credential can be reused, mis-scoped, or left behind. That means NHI programmes should treat every standing service account as a multiplier on governance complexity, not just another entitlement record.
Ephemeral credential trust debt: The article points to a deeper control mismatch between fast-moving automation and slow-moving account governance. When a task ends before a review cycle begins, the programme has to move trust decisions to issuance time or accept that its audit model no longer matches reality.
For practitioners
- Replace persistent service accounts with task-scoped access Map CI/CD runners, automation scripts, and Kubernetes workloads that still rely on manually created accounts, then migrate them to temporary identities issued only for the job duration.
- Bind privileged access to external identity assertions Use JWT or OIDC-backed assertions as the trust input for short-lived machine access so the local account no longer becomes the primary control object.
- Separate role administration from role scope Allow teams to manage roles only inside clearly bounded groups, and review those boundaries separately from the entitlements granted within them.
- Retain audit artefacts after logout Keep user and access records for a configurable period after session end so approvers and auditors can review who requested privileged access and why.
Key takeaways
- The core risk is not automation itself but persistent machine identities that outlive the workflows they support.
- CI/CD, Kubernetes, API clients, and scripts create the strongest case for ephemeral access because they scale faster than manual account governance.
- Practitioners should shift control from account stewardship to short-lived issuance, teardown, and bounded role administration.
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 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Improper Offboarding | Temporary identities must be removed automatically when the task ends. |
| NHI-05 — Overprivileged NHI | Standing service accounts accumulate excess permissions across pipelines and teams. | |
| NHI-07 — Long-Lived Secrets | Ephemeral access is a direct response to long-lived machine credentials and reused accounts. | |
| Recommendation — Automate offboarding for machine identities as soon as the workload or session ends. Reduce entitlement scope for machine identities to the minimum task boundary. Replace durable machine credentials with short-lived access that expires after use. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The article centers on issuing, retaining, and retiring authenticators for workloads and users. |
| Recommendation — Apply authenticator lifecycle controls to issue, expire, and revoke machine access on schedule. | ||
| CIS Controls v8 | CIS-5 — Account Management | The article is fundamentally about reducing account sprawl and managing machine accounts. |
| Recommendation — Inventory and govern machine accounts under formal account management ownership. | ||
Key terms
- Ephemeral Access: Ephemeral access is permission that exists only for the duration of a specific task or session. For agents, it reduces the lifetime of credentials and limits blast radius if a workflow is abused or misrouted. The control is only effective when issuance, expiry, and revocation are enforced automatically.
- Service-account sprawl: Service-account sprawl is the accumulation of shared or long-lived machine identities that are created for convenience and then reused across teams or workflows. It increases governance friction because the account no longer maps cleanly to one operator, one purpose, or one lifecycle event.
- Federated privileged access: Federated privileged access is a model where access is granted based on an external identity assertion rather than a locally managed account. In machine-heavy environments, it lets organisations preserve approval and audit controls while avoiding redundant account creation.
- Identity Blast Radius: The amount of damage a compromised identity can cause across systems, data, and infrastructure. In NHI environments, it is shaped by permissions, network reach, and administrative capability rather than by the credential alone. Reducing blast radius is a containment strategy that limits lateral movement and data exposure.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 24, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org