First preserve logs and current access records, then suspend or rotate the service identity’s credentials before investigating which processes, hosts, or automations are using them. Unusual secret requests can indicate compromise, overbroad permissions, or broken application logic, and preserving evidence helps trace the access path without destroying attribution or timing data.
Why the first move is to preserve evidence before changing access
When a service identity suddenly starts asking for unusual secrets, the first practical goal is to preserve the access trail before it disappears. That means keeping logs, current grants, session records, and recent secret-access events intact so you can distinguish compromise from a bad deployment, a misconfigured job, or a code path that suddenly expanded its own permissions.
That sequence matters because rotating or suspending too early can erase timing, source, and correlation data that you need to explain where the request originated. Preserving evidence first does not mean allowing the behaviour to continue unchecked, it means capturing enough state to support a clean attribution and containment decision.
What unusual secret requests can tell you about the failure mode
Unusual secret requests often point to one of three conditions: an abused service account, an application or automation that has begun calling the wrong secret path, or overbroad permissions that let a workload see far more than it should. The request pattern itself is often more informative than the secret value, because it can reveal whether the identity is being used from an expected host, through an expected process, and on an expected schedule.
In practice, the key question is whether the identity is behaving like a stable workload or like an access path that has been repurposed. If the access pattern changed without a matching deployment change, secret rotation event, or ownership change, treat that as a security signal rather than a routine operational fluctuation.
How to contain the identity without losing the investigation
The immediate response should balance containment with preservation. Suspend or rotate the service identity’s credentials once the evidence you need is captured, then narrow the blast radius by checking which systems can still authenticate with that identity and whether any downstream jobs, APIs, or schedulers depend on it. Guide to the Secret Sprawl Challenge is useful here because it frames why secret exposure and rotation problems tend to propagate across pipelines, code, and vaults.
You should also trace whether the identity is a dedicated workload credential or just a shared secret embedded in several places. If the same secret is reused across multiple runtimes, the incident is no longer a single identity event but a broader exposure problem that requires coordinated revocation and replacement, not just a local fix.
Risk and Threat Considerations
Unusual secret requests matter because they can indicate active abuse of trust, not just a noisy application. If the requesting identity has broad secret access, a compromise can quickly become lateral movement, data exposure, or persistence through credentials that were assumed to be benign.
Failure mechanism: The identity may be compromised, overprivileged, or being driven by broken application logic that requests secrets outside its normal operating envelope, which makes the request path itself a source of exposure.
Impact: If that access continues, an attacker or faulty automation can harvest additional secrets, extend reach into other systems, and make later forensic reconstruction harder by overwriting the very records needed to prove what happened.
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 MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Unusual secret requests signal possible secret exposure or abuse. |
| NHI-05 — Overprivileged NHI | Excess secret access often reflects excessive workload permissions. | |
| Recommendation — Inspect the request path for secret leakage and revoke exposed credentials promptly. Reduce the identity’s secret scope to least privilege before restoring access. | ||
| NIST SP 800-53 Rev 5 | AU-6 — Audit Review, Analysis, and Reporting | Preserving logs and access records supports incident analysis and attribution. |
| IA-5 — Authenticator Management | The response centers on suspending or rotating service credentials. | |
| Recommendation — Retain and review audit evidence before changing the identity state. Rotate or revoke the compromised authenticator and reissue it under controlled conditions. | ||
| MITRE ATT&CK | T1552 — Unsecured Credentials | Secret requests can indicate credential discovery, theft, or misuse. |
| Recommendation — Hunt for credential access and misuse across the processes that touched the identity. | ||
Practitioner Guidance
What to prioritise: Capture logs, grant state, and recent access records first, then decide whether the secret request pattern is consistent with a known deployment or whether it represents a real access anomaly. If the identity can still reach production secrets, treat the case as a containment problem before it becomes a hunting exercise.
What to verify: Check the source host, calling process, token age, and recent permission changes against the normal workload pattern. A valid service identity can still be the wrong actor if it is being used from an unexpected runtime or by an unexpected automation path.
Practitioner takeaway: The best first response is to freeze enough evidence to explain the access path, then remove the identity’s ability to keep asking questions of the secret store until you know whether the behaviour is legitimate.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org