Join our Newsletter — 33% off our NHI Course
Governance, Ownership & Risk

External Key

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Governance, Ownership & Risk

An external key is an SSH key that is used from outside the managed environment or from a source that is not part of the approved access model. These keys often require manual review and rotation because they can indicate shadow use, weak governance, or credential compromise.

What Makes an External Key Different

An external key sits outside the normal approved access model, so it is less about routine SSH hygiene and more about whether the organisation still knows who can reach what, from where, and under whose approval. That matters because externally sourced keys often bypass the usual lifecycle, ownership and review controls that make access intelligible.

In practice, the term describes a key whose provenance is the problem: it may have been created outside central control, copied into an environment without approval, or retained after its original business need ended. The security concern is not the cryptography itself, but the governance gap around trust, visibility and revocation.

Why External Keys Become a Governance Problem

External keys are risky because they can outlive the context that justified them. If they are not tied to an owned account, a documented purpose, and a review cycle, they become standing access paths that are hard to inventory and easy to forget. That creates a shadow-access problem rather than a purely technical one.

They also complicate accountability. A managed environment can usually answer who approved access, when it expires, and what system owns it. An external key often answers none of those questions cleanly, which makes it harder to prove least privilege or detect when access has silently drifted beyond policy.

For broader controls on key custody, rotation and external key management patterns, see BYOK, HYOK and External Key Management Guide.

How Organisations Check Exposure to External Keys

Exposure checks usually begin with asset and access inventory: where SSH keys exist, which hosts accept them, which users or automation flows depend on them, and whether any keys are sourced from outside approved tooling. That review should be paired with an access-path check, because a key that is merely present is less important than one that reaches production systems or administrative endpoints.

Vendor and platform guidance also matters when external keys interact with cloud key services, external key stores, or external key management workflows. In those cases, teams should confirm whether the key is part of a sanctioned design or an exception that has slipped into normal operations. The right question is not only “does it work?” but “is it governed?”

Readers who need the cloud-side custody and control model can use Cloud Customer-Managed Keys and BYOK/HYOK Decision Guide alongside platform documentation.

Remediation, Detection and Identity Impact

When an external key is no longer justified, the safest response is to remove it from the access path, rotate any dependent credentials, and verify that the related account, host, or automation channel still has a legitimate business owner. Where immediate removal is not yet possible, compensating controls should narrow where the key works, increase monitoring, and shorten the review interval until it can be retired.

Detection should focus on unexpected source locations, unusual times of use, new SSH authorisations, and key material that appears in places outside approved provisioning. If an external key has been used maliciously, the blast radius can include sessions, downstream service access, and any secrets reachable through that SSH foothold, so post-incident review should look beyond the key itself to the access it enabled.

For the encryption and key-custody side of this problem, see Encryption Buyer's Guide for the broader management choices that surround externally held key material.

Risk and Threat Considerations

External keys are attractive to attackers and careless insiders because they can provide durable access that sits outside normal control paths. The danger is not only compromise, but concealment: once an unmanaged key is accepted, access may continue long after the original need, approval or operator has disappeared.

Failure mechanism: A key introduced or retained outside the approved model bypasses normal ownership, expiry and revocation discipline, so it can be reused for persistence, shadow access or unauthorised administration.

Impact: The result can be hidden remote access, delayed detection of compromise, and broader exposure to lateral movement or credential abuse if the key opens privileged systems.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, CIS Controls v8, NIST SP 800-57 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementExternal SSH keys are authenticators whose lifecycle must be governed and revoked.
Recommendation — Enforce IA-5 to track, rotate and revoke external keys on a defined lifecycle.
CIS Controls v8CIS-5 — Account ManagementExternal keys create unmanaged access paths that belong in account and access inventory.
Recommendation — Use CIS-5 to inventory and remove unauthorized SSH key access paths.
NIST SP 800-57Key ManagementThe term concerns key custody, rotation and retirement as a lifecycle problem.
Recommendation — Apply key-lifecycle governance to rotate, retire and invalidate external key material.
NIST CSF 2.0PR.AA-05 — Least PrivilegeExternal keys can create standing access that violates least-privilege expectations.
Recommendation — Limit external key access to the minimum systems and time window required.
ISO/IEC 27001:2022A.5.15 — Access controlExternal keys are an access-control exception that needs policy and enforcement.
Recommendation — Define and enforce policy for approved SSH key use and exception handling.

Practitioner Guidance

Governance implication: Treat every external key as an exception that needs an owner, a purpose, an expiry condition and a review path. If those elements cannot be stated, the key is already outside acceptable governance.

What to watch for: Keys that arrive from unmanaged laptops, contractor environments, ad hoc automation, or legacy admin workflows often signal that access has drifted beyond the approved model. Those are the keys most likely to survive reviews unless they are explicitly hunted down and retired.

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.

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