An NHI management platform rollout usually stalls in one of two ways: it connects to everything with broad write access on day one and becomes the most privileged identity in the estate, or it produces an inventory of tens of thousands of identities with no owners and no plan for what happens next. This playbook covers rolling out a platform that discovers, inventories, scores and helps remediate non-human identities (service accounts, cloud roles and service principals, API keys, OAuth apps, tokens, certificates and AI agent credentials) as a phased programme. It covers scoping, the platform's own connector identities, discovery in report-only mode, ownership, policy in alert mode, automated remediation with guardrails, rollback and measurement. It is vendor-neutral and written for NHI, IAM and cloud security engineers. Choosing a platform is covered in the NHI Security Platform Buyer's Guide and hardening it in Securing the NHI management platform itself; this page links them rather than repeating them.
Key takeaways
- Read before you write. Connect every source with read-only access first; grant write or remediation rights per source, per action, only after the inventory and ownership data have been trusted for a while.
- The platform is a privileged NHI. Its connectors read identity data across every cloud, SaaS tenant and pipeline, so their credentials need federation where possible, narrow scope, an owner and monitoring.
- Ownership is the real deliverable. An inventory without owners cannot be acted on; plan the ownership campaign as a phase in its own right.
- Policies start in alert mode. Every rule runs report-only, is tuned against real data, and only then drives tickets or automated action.
- Measure risk removed, not identities found. Report owned, rotated, reduced and retired identities, not the size of the inventory.
Phase 0: scope, sources and success criteria
Start with the questions the platform must answer, then the sources it needs to answer them. A typical first set: which NHIs exist in production, who owns them, which hold administrative rights, which credentials are older than policy allows, and which are unused.
| Source type | What it contributes | Usual wave |
|---|---|---|
| Cloud identity and access management (accounts, subscriptions, projects) | Roles, service principals, access keys, trust policies, last-used data | Wave 1 |
| Directory services (on-premises and cloud) | Service accounts, managed service accounts, application registrations, credentials and expiry | Wave 1 |
| Secrets managers and key stores | Where secrets live, rotation status, which identities read them | Wave 1 or 2 |
| CI/CD platforms and source control | Pipeline credentials, deploy keys, tokens, federation settings | Wave 2 |
| SaaS tenants | OAuth apps, API tokens, integration users, granted scopes | Wave 2 |
| Kubernetes clusters | Service accounts, role bindings, mounted tokens | Wave 2 or 3 |
| Certificate management | Machine certificates, issuers and expiry | Wave 3 |
| HR system, service catalogue, CMDB | People, teams and applications used to assign owners | Wave 1 (read only) |
Success criteria: agree three to five measurable outcomes before the pilot, for example "every production cloud NHI has an owner", "no NHI holds an organisation-wide administrator role without an approved exception" and "static credentials older than 365 days reduced by half". The NHI proof of value plan template structures the pilot and the NHI Security Platform RFP Template the requirements. Map the outcomes to the OWASP Non-Human Identities Top 10 (2025) so engineering teams can see why each matters.
Phase 1: the platform's own access
Before the first connector is switched on, decide what the platform can reach and how its identities authenticate. Each connector is itself a non-human identity, and a compromised connector credential gives an attacker a map of every other identity and, if granted, the means to change them (ATT&CK Valid Accounts: Cloud Accounts, T1078.004; Additional Cloud Credentials, T1098.001).
| Connector | Narrowest workable access at start | Avoid |
|---|---|---|
| Cloud accounts | A read-only audit role in each account, assumed through federation or cross-account trust scoped to the platform's identity | Long-lived access keys; organisation-wide administrator |
| Directory | Read access to identity objects and sign-in data | Domain or global administrator |
| Secrets manager | Metadata and audit log read only, no access to secret values | Policies that let the platform read secret contents |
| CI/CD and source control | An app-style installation with read scopes on organisation settings and credentials metadata | A personal access token from an administrator |
| SaaS tenants | An admin-consented app with read scopes for apps, tokens and audit logs | A shared integration user with full rights |
| Console sign-in | Single sign-on with MFA, roles mapped from groups | Local accounts and shared logins |
- Secret values: decide whether the platform ever needs to see a secret value. For inventory and risk scoring, metadata (name, age, last use, location) is usually enough. If it scans for exposed secrets, confirm what it stores and how findings are masked. The OWASP Secrets Management Cheat Sheet warns against letting any engineer or system read every secret.
- Write access later: write rights (disable, rotate, remove a role) are added in Phase 5, per source and per action, and are separate identities from the read connectors so they can be revoked without breaking discovery.
- Logging: send the platform's own audit log (sign-ins, policy changes, connector changes, actions taken) to the SIEM before go-live.
The detailed hardening (admin roles, connector rotation, guardrails, log retention, exit plan) is in Securing the NHI management platform itself.
Phase 2: discovery in report-only mode
- Connect wave 1 sources with read-only connectors and let the platform build its first inventory. Nothing is ticketed and nothing is changed.
- Reconcile against the sources: pick a sample of accounts and compare the platform's count of roles, service accounts and keys with the platform's own console or export. Investigate every difference before anyone trusts the numbers. See NHI Inventory Reconciliation.
- Check classification: confirm the platform separates human from non-human accounts correctly, especially in directories where service accounts look like users. Misclassified records undermine every later metric.
- Link credentials to identities: confirm that keys, secrets and certificates are attached to the identity that uses them, with creation date, expiry and last use.
- Record the baseline: export the first inventory and its risk findings as the starting point for every later measurement.
Expect the first inventory to be several times larger than any spreadsheet you had. That is a finding, not a fault. The NHI Discovery Across Cloud, SaaS, CI/CD and On-Premises Environments guide covers what each source type reveals.
Phase 3: ownership and classification
Ownership turns an inventory into something people can act on. Run it as a campaign, not a field to fill in.
- Derive owners automatically first: use tags, naming conventions, the service catalogue, the CMDB, repository owners and the person who created the identity. Record the source of each owner so its confidence is visible.
- Ask owners to confirm: send each team its list, with purpose and permissions, and ask them to confirm, reassign or mark for removal.
- Handle the remainder: unclaimed identities go to a triage queue owned by the NHI team, which uses last-use data and change history to find a team or schedules the identity for controlled disable.
- Connect to HR data: make ownership follow people. When an owner leaves, their identities are flagged for reassignment rather than becoming orphans.
- Classify by tier: production versus non-production, administrative versus scoped, internet-reachable or not. The tier drives policy thresholds and remediation targets.
See How to assign owners to orphaned service accounts, the NHI Ownership Attestation Campaigns Guide and the Machine Identity Naming and Tagging Standard Template.
Phase 4: policies in alert mode
Write policies as testable rules derived from your NHI policy, then run them report-only. The NHI Policy Template gives the policy statements; the table shows how a few become rules.
| Policy statement | Platform rule | First action | OWASP NHI risk |
|---|---|---|---|
| Every NHI has an owner | Identity has no confirmed owner after 30 days | Ticket to NHI team triage queue | NHI1 |
| Unused NHIs are removed | No authentication for 90 days | Ticket to owner; disable after confirmation | NHI1 |
| Static credentials have a maximum age | Key or secret older than policy maximum | Ticket to owner with rotation guidance | NHI7 |
| No standing administrator rights | NHI assigned an organisation-wide administrator or owner role | High-priority alert; exception required | NHI5 |
| Federation instead of keys | CI/CD job authenticates with a stored cloud key where federation is available | Ticket to pipeline owner | NHI6, NHI7 |
| No production NHIs outside production | Production credential found in a non-production store | Incident: revoke and replace | NHI8 |
| People do not use NHIs | Interactive sign-in by a service account | Alert to SOC | NHI10 |
- Tune before ticketing: review a sample of matches for each rule with the owning teams, fix false positives at the rule or data level, and record exceptions with an owner and an expiry.
- Prioritise: combine privilege, exposure and credential age into a risk score so teams see the few identities that matter first. See the NHI Risk Scoring Guide.
- Route to owners, not to security: tickets go to the owning team's queue with a due date by tier. The NHI team owns rules and exceptions; product and platform teams own fixes.
Phase 5: automated remediation with guardrails
Automation is where the platform saves the most effort and can do the most damage. Add it one action at a time.
| Action | Blast radius if wrong | Suggested guardrail |
|---|---|---|
| Open a ticket or notify an owner | Low | None beyond rule tuning |
| Tag or label an identity | Low | Restrict to the platform's own tag namespace |
| Disable an unused key or account | Medium: a rarely used job fails | Owner notice period, non-production first, re-enable path tested |
| Rotate a secret in the secrets manager | Medium to high: consumers break if they cache it | Overlap period with both versions valid; validate before revoking the old one |
| Remove a role or permission | High: outages in production | Approval per change, unused-permission evidence, staged rollout |
| Delete an identity | High and hard to reverse | Only after a disabled holding period; never automatic in production at first |
- Pilot each action in non-production with a small, named set of identities.
- Enable in production for one source and one tier, with a daily cap on the number of actions and a human approval step.
- Remove approval only for the lowest-risk actions once the error rate is known and low.
- Keep a kill switch: one setting that stops all automated actions without disabling discovery.
Rollback
- Disable before delete: every automated removal goes through a disabled state that can be reversed in minutes.
- Rotation rollback: keep the previous secret version valid for the overlap period, as the OWASP Secrets Management Cheat Sheet describes for staged rotation, so consumers can fall back.
- Change records: every automated action is logged with the identity, the before and after state and the rule that triggered it, so a bad rule can be reversed in bulk.
- Never roll back by disconnecting a source: a missing source looks the same as a clean one on a dashboard.
Decision guidance
| Decision | Smaller organisation (one or two clouds, few hundred NHIs) | Large organisation (multi-cloud, many thousands of NHIs) |
|---|---|---|
| Need for a platform | Native cloud and directory tools plus a maintained inventory may be enough at first | A platform is usually needed to correlate sources and owners |
| Rollout pace | All wave 1 sources in one pilot | One business unit or cloud organisation per wave |
| Ownership | NHI lead assigns owners directly | Automated derivation plus attestation campaigns per team |
| Automation | Notifications and disabling unused keys | Tiered automation with approvals and caps |
| Hosting model | Software as a service, if connectors can use federation and data residency is acceptable | Decide on data residency, connector placement and what identity data leaves your boundary |
The NHI for SMBs guide covers what a small team can do without a platform. AI agents should be in scope from the first wave where they exist: they use the same keys, tokens and service principals, and the AI Agent Credential Lifecycle and Rotation Guide covers their particular patterns.
Detection and measurement
| Metric | What it shows | Target (our recommendation) |
|---|---|---|
| Sources connected ÷ sources in scope | Whether the inventory reaches the estate | All wave 1 sources by the end of the pilot |
| Production NHIs with a confirmed owner | Whether findings can be acted on | Above 90% within two quarters |
| NHIs with organisation-wide administrator rights and no exception | Highest-impact risk removed | Zero |
| Static credentials older than policy maximum | Rotation progress | Falling every month |
| Automated actions reversed ÷ automated actions taken | Whether automation is trusted and safe | Below 2% |
| Mean time from finding to owner action for high-risk findings | Whether routing works | Within the policy target for the tier |
Also monitor the platform itself: connector authentication from unexpected locations, new connectors or scopes, rule and exception changes, and bulk actions. An attacker who wanted an identity left alone would add an exception, not delete the platform. Once in production, the recurring review is the NHI management platform health check, and programme outcomes are tracked in the NHI Programme Health Check.
Common failure patterns
- Administrator connectors: every source connected with full administrative rights "to save time", making the platform the single most valuable target in the estate.
- Inventory without owners: a large dashboard of identities, none assigned, and no campaign to change that.
- Policies switched straight to blocking or automated action: a rule disables a rarely used batch job's key and the platform is switched off after the outage.
- Exceptions without expiry: the exception list grows until it hides the riskiest identities.
- Sources that quietly stop syncing: a connector credential expires and an account drops out of the inventory without anyone noticing.
- Counting identities found as success: inventory size is reported upwards while owned, rotated and retired counts are not.
Framework mapping
| Activity | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 |
|---|---|---|
| Discovery and inventory | CM-8, AC-2(1) | ID.AM-02, PR.AA-01 |
| Ownership and roles | AC-2, IA-4 | GV.RR-02 |
| Credential age and rotation | IA-5 | PR.AA-01 |
| Privilege reduction | AC-6 | PR.AA-05 |
| Service authentication and federation | IA-9 | PR.AA-03 |
| Unused identities | AC-2(3) | PR.AA-01 |
| Platform logging and monitoring | AU-2, AU-6, SI-4 | DE.CM-09 |
| Platform as a supplier | SA-9, SR-3 | GV.SC-07 |
NIST SP 800-207A describes access control for cloud-native applications built on service and workload identities rather than network location, which is the end state many NHI programmes are working towards.
Practitioner checklist
- Agree three to five measurable outcomes and the wave 1 sources before the pilot.
- Connect every source read-only, through federation or scoped roles, never with an administrator's personal credential.
- Keep write and remediation connectors separate from read connectors, and add them per source and per action.
- Reconcile the first inventory against the source platforms before trusting it.
- Run ownership as a campaign, with automatic derivation, owner confirmation and a triage queue for the rest.
- Run every policy rule report-only, tune it with owners, and record exceptions with an expiry.
- Add automated actions one at a time, non-production first, with caps, approvals and a kill switch.
- Disable before delete, rotate with overlap, and log every automated change for bulk reversal.
- Send the platform's own audit log to the SIEM and alert on connector, rule and exception changes.
- Report owned, rotated, reduced and retired identities, not inventory size.
Standards and references
- OWASP: Non-Human Identities Top 10 (2025)
- OWASP: Secrets Management Cheat Sheet
- NIST: SP 800-53 Rev. 5, Security and Privacy Controls
- NIST: Cybersecurity Framework 2.0
- NIST: SP 800-207A, A Zero Trust Architecture Model for Access Control in Cloud-Native Applications in Multi-Cloud Environments
- NIST: SP 800-207, Zero Trust Architecture
- MITRE ATT&CK: Valid Accounts: Cloud Accounts (T1078.004)
- MITRE ATT&CK: Account Manipulation: Additional Cloud Credentials (T1098.001)
Related NHI Mgmt Group resources: Securing the NHI management platform itself · NHI Security Platform Buyer's Guide · NHI Discovery Across Cloud, SaaS, CI/CD and On-Premises Environments · NHI Security Checklist · Non-Human Identity (NHI) Guide