Join our Newsletter — 33% off our NHI Course
Home› FAQ› Governance, Ownership & Risk› What is the difference between vaulting SSH keys…
Governance, Ownership & Risk

What is the difference between vaulting SSH keys and continuously discovering them?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 27, 2026 Domain: Governance, Ownership & Risk

Vaulting SSH keys centralizes credential storage, but it does not by itself reveal every deployed key or every trust relationship already in use. Continuous discovery focuses on finding where keys exist, how they are used, and whether new keys appear outside policy. For SSH environments, discovery is the control that exposes hidden access paths before remediation begins.

Why Vaulting and Discovery Solve Different SSH Problems

vaulting ssh key and continuously discovering them address different control objectives. Vaulting is about where approved keys live and how they are protected. Discovery is about whether keys exist outside the approved inventory, where they are deployed, and whether usage still matches policy. In practice, the two controls are complementary rather than interchangeable.

A vault can reduce exposure by centralizing storage, restricting access, and supporting rotation. But a vault does not automatically tell you whether a key was copied elsewhere, embedded in automation, or retained on systems that were never brought under management. Continuous discovery adds the missing visibility layer, especially in estates where SSH access has grown organically across servers, scripts, and admin workstations.

For that reason, the difference is not merely storage versus scanning. Vaulting protects what you already know about; discovery reveals what you do not yet know. When teams treat the vault as the whole control, they often miss shadow keys, stale trust relationships, and unmanaged authorized_keys entries that still permit access long after the original owner has changed roles or left.

How Continuous Discovery Changes the SSH Control Model

Continuous discovery changes the operating model from static control to live inventory. It tells you whether a key is new, duplicated, long-lived, or present in an unexpected place. That matters because SSH keys often function as durable access paths, and the real risk is not only the key material itself but the set of machines, accounts, and workflows that already trust it.

Discovery is also what makes remediation possible at scale. If you only vault keys, you can protect the central copy but still leave dozens of deployed copies untouched. If you continuously discover them, you can compare the observed footprint against policy, identify orphaned keys, and decide which keys should be rotated, revoked, or reissued through a controlled process. That is why continuous discovery is often the control that exposes hidden access paths before remediation begins.

Vaulting and discovery therefore answer different questions. Vaulting asks, “Is the credential stored and governed safely?” Discovery asks, “Where is this credential actually used, and does that usage still belong?” A mature program needs both, because an approved vault without discovery can still leave unmanaged SSH access in place.

What Good SSH Key Governance Looks Like in Practice

Good SSH governance starts by separating the system of record from the system of exposure. The vault should be the authoritative place for protected storage and controlled issuance, while discovery should be the authoritative source for finding deployed keys, tracking drift, and highlighting exceptions. When those two views do not match, the mismatch itself is the signal that needs action.

That is why discovery should feed inventory, ownership, and lifecycle decisions, not just reporting. If a key exists outside the vault, or a vaulted key is still trusted in places that were never reviewed, the question is no longer only “where is it stored?” It becomes “who still has access, why, and is that access still justified?”

For broader guidance on lifecycle and trust relationships around non-human credentials, NHIMG’s NHI Lifecycle Management Guide is useful because it treats discovery, ownership, rotation, and offboarding as one control chain. For environments where key sprawl is the real issue, the Secret Sprawl Challenge frames why hidden credentials keep bypassing centralized controls.

Risk and Threat Considerations

The main risk is assuming the vault eliminates exposure when the deployed key footprint is still unknown. Hidden SSH keys can preserve unauthorized access, extend the lifetime of stale trust, and create lateral movement paths that defenders do not see until an incident or audit uncovers them.

Failure mechanism: A key is centrally vaulted but remains deployed on hosts, scripts, or admin systems outside the vault’s visibility, so revocation or rotation does not remove every active trust path.

Impact: Attackers or insiders can keep using unmanaged access paths, stale credentials can survive change events, and incident response can be slowed because teams do not know where the key was trusted.

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, NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementSSH keys are authenticators whose lifecycle must be managed.
IA-9 — Service Identification and AuthenticationSSH keys often authenticate non-human systems and automated access.
Recommendation — Manage SSH key issuance, rotation, and revocation under IA-5. Apply IA-9 to govern non-human SSH authentication paths.
NIST CSF 2.0ID.AM-01 — Physical devices and systems within the organization are inventoriedContinuous discovery is fundamentally an inventory and visibility problem.
PR.AA-05 — Identity-based access is managedSSH access must be governed as identity-based access, not just stored secrets.
Recommendation — Inventory deployed SSH key usage and reconcile it continuously. Manage SSH key access as identity-based access with explicit ownership.
OWASP Non-Human Identity Top 10NHI-01 — Improper OffboardingUndiscovered SSH keys can survive role changes and offboarding.
NHI-07 — Long-Lived SecretsSSH keys are often long-lived unless discovery and rotation shorten exposure.
NHI-09 — NHI ReuseThe same SSH key reused across systems increases blast radius and hidden trust.
Recommendation — Remove SSH keys promptly when ownership or employment changes. Reduce SSH key lifetime and flag keys that persist beyond policy. Detect reused SSH keys and replace them with uniquely scoped credentials.
CIS Controls v8CIS-5 — Account ManagementSSH key governance depends on knowing which accounts and keys remain active.
Recommendation — Review active SSH key-backed access and remove stale account mappings.

Practitioner Guidance

What to verify: Treat the vault as a storage and issuance control, not as proof of complete key hygiene. Verify that every deployed SSH key can be mapped back to an owner, a system, and a legitimate use case.

Decision rule: If a key is visible only in the vault, it is probably not yet a governance problem. If a key is visible on endpoints or servers but not in the approved inventory, treat it as a discovery and remediation priority before relying on rotation alone.

What good looks like: The approved vault inventory and the observed deployment inventory converge over time, exceptions are short-lived, and orphaned keys are removed quickly rather than carried forward by default.

Practitioner takeaway: Vaulting reduces exposure of known keys, but continuous discovery is what tells you whether your SSH control actually matches reality.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 27, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org