Most access reviews ask an owner to tick "keep" on a service account they cannot describe, so the attestation proves nothing and the risky credentials survive. This template gives you a ready sign-off form for non-human identities: service accounts, workload and managed identities, service principals, API keys, tokens and certificates. It sets out what evidence must sit in front of the owner, the exact statements they attest to, the decisions they can make and the record you keep for audit. It is for identity governance, platform and audit teams who already run an NHI review and need the form that makes each decision defensible. Replace the bracketed placeholders and adopt it as a procedure annex.
How to use this template
- Placeholders: replace [Organisation], [IAM team], [Review owner], [Platform team] and the values in square brackets with your own. Keep the numbering so that audit evidence can reference a clause, for example "Attestation statement 5.3".
- Where it sits: this is the attestation form and its rules. The campaign process (scoping, scheduling, chasing) is covered in the NHI Ownership Attestation Campaigns Guide and the step-by-step review in How to Run an Access Review for Service Accounts. For non-NHI controls use the Control Owner Attestation Template.
- Tooling: the form works as a spreadsheet, a ticket template or the custom questions of an IGA campaign. Some platforms review machine identities natively, for example Microsoft Entra access reviews can include service principals that hold Entra roles or Azure resource roles, with a named reviewer. Where the platform cannot hold the evidence fields, attach the evidence pack to the decision.
- Framework fit: the form produces evidence for the controls below.
| Framework | Reference | What this form evidences |
|---|---|---|
| NIST SP 800-53 Rev. 5 | AC-2 Account Management (items b, d, g, j) | Named account manager, documented authorisations, monitored use and periodic review of each account |
| NIST SP 800-53 Rev. 5 | AC-2(3) Disable Accounts; AC-6(7) Review of User Privileges | Disable decisions for inactive or unowned accounts; privilege review with reassignment or removal |
| NIST SP 800-53 Rev. 5 | IA-5 Authenticator Management | Credential type, age and rotation attested per identity |
| NIST CSF 2.0 | PR.AA-01, PR.AA-05 | Identities and credentials for services managed; permissions reviewed against least privilege |
| CIS Controls v8.1 | Control 5 Account Management, Control 6 Access Control Management | Service account inventory reviewed and access revoked when not needed |
| ISO/IEC 27001:2022 Annex A | 5.16 Identity management, 5.18 Access rights, 8.2 Privileged access rights | Access rights reviewed at planned intervals, privileged rights restricted |
| OWASP Non-Human Identities Top 10 (2025) | NHI1 Improper Offboarding, NHI5 Overprivileged NHI, NHI7 Long-Lived Secrets, NHI9 NHI Reuse, NHI10 Human Use of NHI | Each risk has a matching attestation statement in section 5 |
1. Purpose
1.1 This procedure defines how [Organisation] obtains and records owner attestation for every non-human identity (NHI) that can authenticate to a system holding [Organisation] data or infrastructure.
1.2 The attestation confirms, for each identity, that it is still needed, that a named person is accountable for it, that its permissions match its documented purpose and that its credentials meet [Organisation]'s authenticator standard. Where any of these is false, the attestation records the remediation decision and its due date.
2. Scope
2.1 In scope: directory service accounts (including gMSA and sMSA), cloud IAM roles and users used by workloads, service principals and app registrations, managed and workload identities, Kubernetes service accounts with bound cluster roles, database and application logins used by software, SaaS integration accounts and OAuth apps, API keys and personal access tokens used by automation, and certificates used for client authentication.
2.2 AI agents that hold their own credentials are in scope and are reviewed with the same form, with the agent's tool permissions recorded in field 6.9.
2.3 The review covers the identity and every credential attached to it. Reviewing the account but not its keys is not a completed attestation.
2.4 Out of scope: human user accounts (covered by [Human access review procedure]) and break-glass accounts (covered by [Emergency access procedure]), except where a break-glass account is used by software.
3. Roles and responsibilities
| Role | Responsibility | What they sign |
|---|---|---|
| Business owner | Accountable for the identity's purpose and risk. Usually the owner of the application or service it runs. | Statements 5.1, 5.2, 5.4 and the final decision |
| Technical owner | Engineer or team that operates the workload and can explain what the identity calls | Statements 5.3, 5.5, 5.6, 5.7 and 5.8 |
| [IAM team] review coordinator | Builds the evidence pack, routes forms, chases non-response, executes decisions | Completeness check (8.3), not the decision |
| Platform administrator | Executes disable, permission reduction or credential rotation in the target platform | Execution record (7.4) |
| Security or risk approver | Approves exceptions and high-privilege "keep" decisions | Exception record (9.2) |
| Internal audit | Samples completed attestations and re-performs evidence checks | Nothing in the campaign; reports separately |
3.1 The coordinator and the platform administrator never attest. Separating the person who decides from the person who executes is the evidence of segregation of duties that auditors look for.
3.2 Where an identity has no owner who will sign, follow How to assign owners to orphaned service accounts before the campaign closes. An unowned identity is a finding, not a "keep".
4. Frequency and triggers
| Tier | Definition | Review frequency |
|---|---|---|
| Tier 1 | Holds administrative or tenant-wide rights (Domain Admins, Global Administrator, Owner on a subscription or organisation, cluster-admin, roles with write to IAM), or reaches regulated data | [Quarterly] |
| Tier 2 | Production read and write to business systems without admin rights | [Six-monthly] |
| Tier 3 | Non-production, read-only or narrowly scoped | [Annually] |
4.1 Event triggers start an out-of-cycle attestation for the affected identities within [10] working days: owner leaves or changes team, application decommissioned, vendor contract ends, credential exposure alert, incident involving the identity, or a permission change that moves it to a higher tier.
4.2 After a supplier or identity provider breach, every credential that could have been exposed is rotated or attested as not exposed with evidence. Belief that a credential is unused is not evidence: the Cloudflare Thanksgiving breach began with one service token and three service account credentials left unrotated after the Okta support breach because they were believed to be unused.
5. Attestation statements
5.0 For each identity the owner answers every statement Yes, No or Do not know. "Do not know" is treated as No. A free-text justification is mandatory for any Yes on statements 5.3 and 5.6 when the identity is Tier 1.
| No. | Statement the owner attests to | Evidence shown beside it | Risk it tests |
|---|---|---|---|
| 5.1 | This identity is still required for the purpose recorded in field 6.4. | Last authentication time; application still in the service catalogue | NHI1 Improper Offboarding |
| 5.2 | I am the accountable owner and the backup owner in field 6.6 is current. | Owner and backup from the inventory; HR status of both | Orphaned identities |
| 5.3 | Every permission listed is needed for that purpose; nothing broader would be accepted. | Assigned roles and policies with last-used data per service or action | NHI5 Overprivileged NHI |
| 5.4 | The identity is used by one application or workload only. | Distinct source hosts, workloads or IP ranges seen in the review period | NHI9 NHI Reuse |
| 5.5 | No person signs in with this identity interactively. | Interactive or console sign-ins in the period | NHI10 Human Use of NHI |
| 5.6 | Each credential meets the authenticator standard (type, maximum age, storage location). | Credential type, created date, last rotated date, expiry, vault path | NHI7 Long-Lived Secrets |
| 5.7 | The identity is confined to its environment (production identities are not used from development, and the reverse). | Environments and networks it authenticated from | NHI8 Environment Isolation |
| 5.8 | Third parties that hold or use this credential are listed and still under contract. | Vendor register entry, contract end date | NHI3 Vulnerable Third-Party NHI |
5.9 The owner may not attest to statement 5.3 without seeing last-used data. Where a platform does not provide it for the identity type, the coordinator records the gap in field 6.12 and the decision is limited to Keep with reduction or Disable (section 7).
6. Attestation record fields
| Field | Content | Example |
|---|---|---|
| 6.1 Record ID | Campaign ID plus identity ID | [NHI-2027Q1]-0412 |
| 6.2 Identity | Platform, unique identifier and display name | Entra ID service principal, object ID [guid], "billing-sync" |
| 6.3 Identity type and tier | From section 2.1 and section 4 | App registration, Tier 1 |
| 6.4 Documented purpose | One sentence: what calls what, and why | Nightly export of invoices from ERP to finance data warehouse |
| 6.5 Business and technical owner | Named people, not teams or distribution lists | [Name], [Name] |
| 6.6 Backup owner | Named person who can decide if the owner leaves | [Name] |
| 6.7 Credentials | Each credential: type, created, last rotated, expiry, storage | Client certificate, expires [date], stored in [vault path] |
| 6.8 Permissions | Roles, policies, scopes, with last-used date per item | Storage Blob Data Reader on [account], last used [date] |
| 6.9 Agent or tool permissions | For AI agents: tools and data sources the agent may call | Read CRM, create ticket |
| 6.10 Usage summary | Last authentication, distinct sources, interactive sign-ins | Last auth [date], 2 hosts, 0 interactive |
| 6.11 Answers to 5.1 to 5.8 | Yes, No or Do not know, with justification text | 5.3 No: write scope not used in 180 days |
| 6.12 Evidence gaps | Which evidence was not available and why | No action-level data for this service |
| 6.13 Decision and due date | One decision from section 7, with target date | Keep with reduction, [date] |
| 6.14 Sign-off | Owner name, timestamp, method (IGA, signed ticket) | [Name], [timestamp], IGA campaign |
| 6.15 Execution record | Who executed, when, change ticket, verification result | [Name], [date], CHG-[n], verified |
6.16 Sign-off statement shown to the owner: "I have reviewed the evidence above for this identity. My answers are accurate to the best of my knowledge, and I accept accountability for this identity and its credentials until the next attestation or until I transfer ownership through [ownership transfer process]."
7. Decisions
| Decision | When to choose it | Execution standard |
|---|---|---|
| Keep | All of 5.1 to 5.8 answered Yes with evidence | No change; next review per tier |
| Keep with reduction | Needed, but 5.3, 5.4 or 5.7 is No | Remove unused permissions or split shared use within [30] days |
| Rotate or replace credential | Needed, but 5.6 is No | Rotate within [14] days, or move to a federated or managed credential within [90] days |
| Disable | 5.1 is No, or no owner will sign | Disable within [5] days; keep disabled for [30 to 90] days before deletion |
| Delete | Disabled for the hold period with no breakage reported | Delete identity and revoke every credential; record in field 6.15 |
| Exception | A No that cannot be fixed by the due date | Section 9; time-limited, approved, with compensating control |
7.1 Disable before delete. Disabling is reversible; deleting a service principal, key or role usually is not, and recreated identities get new identifiers that break references.
7.2 A credential that may have been exposed is rotated whatever the decision, and its revocation is verified, not assumed.
7.3 Interactive use (5.5 No) triggers a separate investigation through [Security operations]; it is not closed by the owner's explanation alone. See How to detect interactive logons by service accounts.
7.4 The platform administrator records execution in field 6.15 and re-extracts the platform state to confirm the change took effect.
8. Timeline, non-response and completeness
| Day | Action |
|---|---|
| Day 0 | Coordinator freezes the population and issues forms with evidence packs |
| Day 7 | First reminder to owners with open forms |
| Day 14 | Reminder copied to the owner's manager |
| Day 21 | Escalation to backup owner and [Review owner] |
| Day 28 | Campaign closes; unanswered Tier 1 and Tier 2 identities move to Disable after [5] working days' notice |
| Day 60 | All Keep with reduction and rotation decisions executed or under approved exception |
8.1 Non-response is never recorded as approval. Auto-approve on timeout is switched off in any tool used for this campaign.
8.2 Bulk approval is not permitted for Tier 1 identities. For Tier 2 and Tier 3, bulk approval is allowed only where every statement shows supporting evidence.
8.3 Before closing, the coordinator confirms that the number of identities in the frozen population equals the number of completed records, and that every credential in the inventory belongs to a reviewed identity.
9. Exceptions
9.1 An exception is requested in field 6.13 with the reason, the compensating control (for example IP restriction, conditional access for workload identities, enhanced alerting) and an end date no later than [90] days.
9.2 Exceptions for Tier 1 identities are approved by [Security or risk approver]; the owner cannot approve their own exception.
9.3 Expired exceptions revert to the original decision automatically and are reported at the next risk meeting.
10. Evidence retention and independent check
10.1 Completed records, evidence packs and execution records are retained for [the longer of three years or the audit cycle].
10.2 [Internal audit or second line] samples at least [25] completed Keep decisions per campaign, weighted to Tier 1, and re-performs the evidence check against the platform.
10.3 Findings from the sample feed the next campaign's evidence pack design.
11. Metrics and review of this procedure
- Coverage: percentage of inventoried NHIs with a completed attestation in their tier window (target [100%] for Tier 1).
- Revocation yield: percentage of reviewed identities disabled, reduced or rotated. A yield near zero for several campaigns suggests rubber-stamping, not a clean estate.
- Ownership gaps: number of identities with no signing owner at campaign close.
- Time to execute: median days from decision to verified execution.
- Credential age: count of credentials older than the authenticator standard after the campaign.
- Exception backlog: open exceptions and exceptions past their end date.
11.1 [Review owner] reviews this procedure annually and after any incident involving a non-human identity. Approved by [Name, role] on [date].
Implementation guidance
- Start from the inventory, not the campaign tool. Reconcile identities across directories, clouds and SaaS first, using the NHI Inventory Reconciliation guide. A form issued against an incomplete inventory attests a partial estate.
- Build the evidence pack per platform. Use native usage data: in AWS, IAM last accessed information reports when allowed services (and, for listed services, management actions) were last accessed, with at least 400 days of service history; in Google Cloud, service account insights flag service accounts that have not authenticated in the observation period, with documented blind spots such as domain-wide delegation; in Microsoft Entra, sign-in logs for service principals and access reviews scoped to service principals.
- Pilot with Tier 1. Run the form on [20 to 50] Tier 1 identities with two or three owners, measure how long a form takes and which evidence was missing, then fix the pack before scaling.
- Know the evidence limits. AWS states that last accessed data reflects identity-based policies only and that CloudTrail is the authoritative record; Google states that requests from API keys bound to service accounts are not counted in usage metrics. Record these limits in field 6.12 so a "not used" reading is not over-trusted.
- Make disable reversible. Agree the hold period and the rollback path (re-enable, restore role assignment) with platform teams before the first Disable decision executes.
- Close the loop. Feed Keep with reduction outcomes into least-privilege work and rotation outcomes into the move to managed or federated credentials, so each campaign has fewer long-lived secrets to attest. See the NHI Ownership Guide for making ownership a creation-time requirement.
Common failure patterns: owners attest to identities they cannot describe because purpose was never recorded; the account is reviewed but its API keys and certificates are not; non-response is treated as approval; "unused" is accepted from belief rather than log evidence; and disabled identities are deleted in the same week, so rollback is impossible.
Standards and references
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
- NIST: Cybersecurity Framework 2.0
- OWASP: Non-Human Identities Top 10 2025
- CIS: Control 5 Account Management
- Microsoft Learn: Create an access review of Azure resource and Microsoft Entra roles in PIM
- AWS: Refine permissions using last accessed information
- Google Cloud: Service account insights
Related NHI Mgmt Group resources: NHI Ownership Attestation Campaigns Guide · How to Run an Access Review for Service Accounts · NHI Ownership RACI · Orphaned and Dormant Accounts