Credential possession is the ability to present a password, token, or other secret that a system accepts. It proves control of the factor, but not necessarily the true identity of the person or system using it. In mature programmes, possession is only one input to a broader assurance decision.
Expanded Definition
Credential possession is the observable proof that a caller can present a valid secret such as a password, API key, session token, or certificate and have a system accept it. In NHI security, that signal is necessary but not sufficient, because possession can be copied, replayed, brokered, or stolen without any genuine trust in the actor behind it.
Definitions vary across vendors when possession is treated as a stand-alone authentication factor versus one input inside a broader assurance model. The more precise interpretation is aligned with NIST SP 800-63 Digital Identity Guidelines, which distinguish proof of control from higher levels of identity assurance. For non-human identities, that distinction matters because workloads, agents, and automation often reuse bearer credentials at machine speed. NHIMG guidance on Ultimate Guide to NHIs — Static vs Dynamic Secrets shows why static secrets are especially prone to over-reliance: possession can be demonstrated even after the secret has been copied into logs, pipelines, or attacker tooling.
The most common misapplication is treating successful secret presentation as sufficient identity validation, which occurs when access decisions ignore context, rotation state, and provenance.
Examples and Use Cases
Implementing credential possession rigorously often introduces lifecycle and operational overhead, requiring organisations to weigh fast machine access against tighter secret issuance, rotation, and revocation controls.
- A CI/CD job presents a short-lived token to deploy infrastructure, but the pipeline also checks issuer, expiry, and workload binding before granting access.
- An API client uses a certificate to call an internal service, while mutual TLS confirms possession and the service mesh validates trust anchors and workload identity.
- A cloud automation script authenticates with an access key, but the key is rotated frequently and scoped to one environment to limit abuse if copied.
- A support agent pastes a one-time code into an admin portal, demonstrating possession for a session while stronger policy decides whether the action is allowed.
- Attackers extract secrets from source control or build logs, then reuse them against production systems, which is why NHIMG documents secret exposure patterns in the Guide to the Secret Sprawl Challenge and related supply-chain incidents such as the Reviewdog GitHub Action supply chain attack.
OWASP’s Non-Human Identity Top 10 frames this as a recurring risk because possession without proper secret governance invites replay and credential theft.
Why It Matters in NHI Security
Credential possession is central to NHI compromise because attackers do not need to “be” the workload to act as it. Once a secret is exposed, cloned, or intercepted, the attacker can often behave like a legitimate automation client, which makes detection difficult and response urgent. NHIMG research in LLMjacking: How Attackers Hijack AI Using Compromised NHIs found that when AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes, and as quickly as 9 minutes in some cases. That timing leaves very little room for manual containment.
This is why possession must be paired with ephemeral credentials, workload binding, least privilege, and rapid revocation. The static vs dynamic secrets distinction is not academic: static credentials create long-lived possession risk, while dynamic issuance can reduce the window for misuse. Organisations also need to remember that possession evidence can be forged through replay, especially where tokens lack audience restrictions or where certificates are not tied to device or workload posture. Organisations typically encounter the operational cost of weak possession controls only after a secret leak, at which point credential possession becomes operationally unavoidable to address.
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 address the attack and risk surface, while NIST SP 800-63 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Covers secret exposure, replay, and weak non-human authentication patterns. |
| NIST SP 800-63 | AAL2 | Defines assurance as more than simple proof of control of a secret. |
| NIST CSF 2.0 | PR.AC-1 | Access control requires authenticated identities, not just a presented credential. |
Treat possession as necessary but insufficient and bind secrets to workload, scope, and rotation controls.